Property deactivated
deactivated
The event that is called when an Interactor deactivates this Interactable.
Declaration
DeactivateEvent deactivated { get; }
Property Value
| Type | Description |
|---|---|
| DeactivateEvent |
Remarks
Not to be confused with activating or deactivating a GameObject with SetActive(bool).
This is a generic event when an Interactor wants to deactivate an Interactable,
such as from a trigger release on a controller.
The DeactivateEventArgs passed to each listener is only valid while the event is invoked,
do not hold a reference to it.