◆
IsObjectAPreFab()
static bool IsObjectAPreFab
(
Object
testObject
)
static
Parameters
testObject
object that should be checked o see if it is a prefab
Returns
false if the object is not a prefab, and when the code is not running in the editor.
References
GameObjectExtensions.EditorIsObjectAPreFab
.
EyE
Unity
Extensions
GameObjectExtensions