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 .