Version 2.1.0.0

UnityEventFormatter<T> class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class UnityEventFormatter<T> : ReflectionFormatter<T>, IFormatter<T>, IFormatter where T : UnityEventBase, new()
Custom generic formatter for the UnityEngine.Events.UnityEvent`1, UnityEngine.Events.UnityEvent`2, UnityEngine.Events.UnityEvent`3 and UnityEngine.Events.UnityEvent`4 types.
Inheritance

Type Parameters

T

The type of UnityEvent that this formatter can serialize and deserialize.

Constructors

UnityEventFormatter()
public UnityEventFormatter()

Methods

GetUninitializedObject()
Get an uninitialized object of type .
protected override T GetUninitializedObject()
Returns
T

An uninitialized object of type .

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.