◆ IsObjectAnAsset()

static bool IsObjectAnAsset ( Object  testObject)
static
Parameters
testObject
Returns
True, if running in the editor, and the object is a saved Asset. False, otherwise.

References GameObjectExtensions.EditorIsObjectAnAsset, and GameObjectExtensions.EditorIsObjectAPreFab.

Referenced by GameObjectExtensions.DestroyObjectAppropriately().

+ Here is the caller graph for this function: