Class ChangeEvent<T>
Inheritance
ChangeEvent<T>
Assembly: UnityEngine.dll
Syntax
public class ChangeEvent<T> : EventBase<ChangeEvent<T>>, IDisposable, IChangeEvent
Type Parameters
Constructors
|
Improve this Doc
View Source
ChangeEvent()
Declaration
Properties
|
Improve this Doc
View Source
newValue
Declaration
public T newValue { get; protected set; }
Property Value
|
Improve this Doc
View Source
previousValue
Declaration
public T previousValue { get; protected set; }
Property Value
Methods
|
Improve this Doc
View Source
GetPooled(T, T)
Declaration
public static ChangeEvent<T> GetPooled(T previousValue, T newValue)
Parameters
Type |
Name |
Description |
T |
previousValue |
|
T |
newValue |
|
Returns
|
Improve this Doc
View Source
Init()
Declaration
protected override void Init()
Overrides
UnityEngine.Experimental.UIElements.EventBase<UnityEngine.Experimental.UIElements.ChangeEvent<T>>.Init()
Implements
Extension Methods