Version 3.1.7.0

OdinPrefabUtility class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public static class OdinPrefabUtility
Inheritance
  • System.Object
  • OdinPrefabUtility

Methods

IsPrefabPartOfAssetStage(Object, out String)
public static bool IsPrefabPartOfAssetStage(Object obj, out string prefabAssetPath)
Parameters
UnityEngine.Object obj

System.String prefabAssetPath

Returns
System.Boolean

UpdatePrefabInstancePropertyModifications(Object, Boolean)
public static void UpdatePrefabInstancePropertyModifications(Object prefabInstance, bool withUndo)
Parameters
UnityEngine.Object prefabInstance

System.Boolean withUndo