Interface INotifyValueChanged<T>
Interface for controls that hold a value and can notify when it is changed by user input.
Namespace: UnityEngine.UIElements
Syntax
public interface INotifyValueChanged<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
value
The value the control holds.
Declaration
T value { get; set; }
Property Value
Type | Description |
---|---|
T |
Methods
SetValueWithoutNotify(T)
Sets the value and, even if different, doesn't notify registers callbacks with a ChangeEvent<T>
Declaration
void SetValueWithoutNotify(T newValue)
Parameters
Type | Name | Description |
---|---|---|
T | newValue | The new value to be set. |