Interface INotifyValueChanged<T>
Assembly: UnityEngine.dll
Syntax
public interface INotifyValueChanged<T>
Type Parameters
Properties
|
Improve this Doc
View Source
value
Declaration
Property Value
Methods
|
Improve this Doc
View Source
OnValueChanged(EventCallback<ChangeEvent<T>>)
Declaration
void OnValueChanged(EventCallback<ChangeEvent<T>> callback)
Parameters
|
Improve this Doc
View Source
RemoveOnValueChanged(EventCallback<ChangeEvent<T>>)
Declaration
void RemoveOnValueChanged(EventCallback<ChangeEvent<T>> callback)
Parameters
|
Improve this Doc
View Source
SetValueAndNotify(T)
Declaration
[Obsolete("This method is replaced by simply using this.value. The default behaviour has been changed to notify when changed. If the behaviour is not to be notified, SetValueWithoutNotify() must be used.", false)]
void SetValueAndNotify(T newValue)
Parameters
Type |
Name |
Description |
T |
newValue |
|
|
Improve this Doc
View Source
SetValueWithoutNotify(T)
Declaration
void SetValueWithoutNotify(T newValue)
Parameters
Type |
Name |
Description |
T |
newValue |
|
Extension Methods