Version 2.1.0.0

IOverridesSerializationPolicy interface

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public interface IOverridesSerializationPolicy
Indicates that an Odin-serialized Unity object provides its own serialization policy rather than using the default policy.

Note that THE VALUES RETURNED BY THIS INTERFACE WILL OVERRIDE THE PARAMETERS PASSED TO SerializeUnityObject(Object, ref SerializationData, Boolean, SerializationContext) and DeserializeUnityObject(Object, ref SerializationData, DeserializationContext).

Properties

OdinSerializesUnityFields
bool OdinSerializesUnityFields { get; }
SerializationPolicy
ISerializationPolicy SerializationPolicy { get; }