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()

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.