Version 2.1.0.0

SerializedComponent class

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

Constructors

SerializedComponent()
protected SerializedComponent()

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.