Version 2.1.0.0

OdinPrefabSerializationEditorUtility class

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

Properties

HasNewPrefabWorkflow
public static bool HasNewPrefabWorkflow { get; }

Methods

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

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.