◆ IsObjectAPreFab()

static bool IsObjectAPreFab ( Object  testObject)
static
Parameters
testObjectobject 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.