Table of Contents

Class SerializeInterfaceAttribute

Namespace
Plugins.Saneject.Runtime.Attributes
Assembly
Saneject.Runtime.dll

Marks an interface-typed member for Saneject's serialized-interface code generation.

[AttributeUsage(AttributeTargets.Field)]
public sealed class SerializeInterfaceAttribute : Attribute
Inheritance
object
Attribute
SerializeInterfaceAttribute

Remarks

Apply this attribute to interface fields, interface arrays, interface lists, or auto-properties via [field: SerializeInterface]. Saneject generates hidden UnityEngine.Object backing members plus serialization sync code so Unity can display and persist interface references in scenes and prefabs.