Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public static class OdinPrefabUtility
public static GameObject GetNearestPrefabAsset(Object obj)
UnityEngine.Object | obj |
UnityEngine.GameObject |
public static PrefabKind GetPrefabKind(InspectorProperty prop)
InspectorProperty | prop |
PrefabKind |
public static PrefabKind GetPrefabKind(Object obj)
UnityEngine.Object | obj |
PrefabKind |
public static GameObject OpenPrefabStage(string prefabAssetPath, GameObject openedFromInstance)
System.String | prefabAssetPath | |
UnityEngine.GameObject | openedFromInstance |
UnityEngine.GameObject |
public static void UpdatePrefabInstancePropertyModifications(Object prefabInstance, bool withUndo)
UnityEngine.Object | prefabInstance | |
System.Boolean | withUndo |