UnitySignals
Signals for Unity3D
|
Additional Inherited Members | |
![]() | |
void | AddListener (UnityAction listener) |
Adds a listener. | |
void | AddListener (UnityAction< T > listener) |
Adds a listener. | |
void | RemoveListener (UnityAction listener) |
Removes a listener. | |
void | RemoveListener (UnityAction< T > listener) |
Removes a listener. | |
void | TriggerUpdate () |
Invokes listeners. | |
void | TriggerUpdate () |
Invokes listeners. | |
![]() | |
static implicit | operator T (Signal< T > signal) |
Implicit cast from the Signal to it's Value. | |
![]() | |
virtual void | ProcessValue (ref T value) |
Override this method to preprocess values before applying them. | |
virtual bool | ValidateValue (in T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set only if this method returns true. | |
virtual void | OnEnable () |
![]() | |
T | InitialValue [get, set] |
The initial value of the Signal. | |
T | Value [get, set] |
The current value of the Signal. Setting the value invokes listeners. | |
bool | UseValidation [get, set] |
True if new values are validated, false otherwise. | |
![]() |