Version 2.1.0.0

IOverridesSerializationFormat interface

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public interface IOverridesSerializationFormat
Indicates that an Odin-serialized Unity object controls its own serialization format. Every time it is serialized, it will be asked which format to use.

Methods

GetFormatToSerializeAs(Boolean)
Gets the format to use for serialization.
DataFormat GetFormatToSerializeAs(bool isPlayer)
Parameters
System.Boolean isPlayer

Returns
DataFormat

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.