FMEditorUtilities.

TryGetPrefab(Component, GameObject) Method

Summary

Tries to get the prefab asset associated with `componentInPrefab` and returns true if successful.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Editor
Containing Type
FMEditorUtilities

Syntax

public static bool TryGetPrefab(Component componentInPrefab, out GameObject prefab)

Parameters

Name Type Description
componentInPrefab Component
prefab GameObject

Return Value

Type Description
bool