EditorUtility.GetPrefabType Manual     Reference     Scripting  
Scripting > Editor Classes > EditorUtility
EditorUtility.GetPrefabType

static function GetPrefabType (target : Object) : PrefabType

Description

Given an object, returns whether it's a prefab or an instance of a prefab and what kind of prefab it is.

See Also: The PrefabType enumeration for information on the possible return values.