InteractableStateChangeArgs
(
previousState
, newState
)
|
Constructor for InteractableStateChangeArgs.
In general, only IInteractable instances are expected to invoke this.
Signature
InteractableStateChangeArgs(InteractableState previousState, InteractableState newState) Parameters previousState: InteractableStateÂ
The IInteractable's prior InteractableState
newState: InteractableStateÂ
The IInteractable's new InteractableState
|
NewState
: InteractableState
[Get] |
The InteractableState of the emitting IInteractable after this state change.
State change events are emitted after the change has already taken place, so querying the state in a handler of such an event will return this new state.
Signature
InteractableState NewState |
PreviousState
: InteractableState
[Get] |
The InteractableState of the emitting IInteractable prior to this state change.
Note that state change events are emitted after the change has already taken place, and thus querying the state in a handler of such an event returns the new state, not the previous state.
Signature
InteractableState PreviousState |