Class EditorUnityObjectUtility
Inheritance
EditorUnityObjectUtility
Syntax
public static class EditorUnityObjectUtility
Fields
MonoBehaviourClassID
Declaration
public const int MonoBehaviourClassID = 114
Field Value
Methods
GetClassID(Type)
Declaration
public static int GetClassID(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetPrefabDefinition(Object)
Declaration
public static Object GetPrefabDefinition(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
GetScriptClass(Type)
Declaration
public static string GetScriptClass(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetUnityTypes(Object)
Declaration
public static IEnumerable<Type> GetUnityTypes(Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
IsConnectedPrefabInstance(Object)
Declaration
public static bool IsConnectedPrefabInstance(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
IsDisconnectedPrefabInstance(Object)
Declaration
public static bool IsDisconnectedPrefabInstance(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
IsPrefabDefinition(Object)
Declaration
public static bool IsPrefabDefinition(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
IsPrefabInstance(Object)
Declaration
public static bool IsPrefabInstance(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
IsSceneBound(Object)
Declaration
public static bool IsSceneBound(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns