Version 2.1.0.0

SerializedMonoBehaviour class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.Serialization
[ShowOdinSerializedPropertiesInInspector]
public abstract class SerializedMonoBehaviour : MonoBehaviour, ISerializationCallbackReceiver, ISupportsPrefabSerialization
A Unity MonoBehaviour which is serialized by the Sirenix serialization system.
Inheritance
  • System.Object
  • SerializedMonoBehaviour
Implements
  • UnityEngine.ISerializationCallbackReceiver

Constructors

SerializedMonoBehaviour()
protected SerializedMonoBehaviour()

Methods

OnAfterDeserialize()
Invoked after deserialization has taken place.
protected virtual void OnAfterDeserialize()
OnBeforeSerialize()
Invoked before serialization has taken place.
protected virtual void OnBeforeSerialize()