Version 3.0.4.0

OdinPrefabSerializationEditorUtility class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public static class OdinPrefabSerializationEditorUtility
Inheritance
  • System.Object
  • OdinPrefabSerializationEditorUtility

Properties

HasApplyPropertyOverride
public static bool HasApplyPropertyOverride { get; }
HasNewPrefabWorkflow
public static bool HasNewPrefabWorkflow { get; }

Methods

ApplyPropertyOverride(SerializedProperty, String)
public static void ApplyPropertyOverride(SerializedProperty instanceProperty, string assetPath)
Parameters
UnityEditor.SerializedProperty instanceProperty

System.String assetPath

GetCorrespondingObjectFromSource(Object)
public static Object GetCorrespondingObjectFromSource(Object unityObject)
Parameters
UnityEngine.Object unityObject

Returns
UnityEngine.Object

ObjectHasNestedOdinPrefabData(Object)
public static bool ObjectHasNestedOdinPrefabData(Object unityObject)
Parameters
UnityEngine.Object unityObject

Returns
System.Boolean

ObjectIsPrefabInstance(Object)
public static bool ObjectIsPrefabInstance(Object unityObject)
Parameters
UnityEngine.Object unityObject

Returns
System.Boolean