The base class of all observer behaviour components. Provides access to base functionality and information of the observer More...
Public Attributes | |
int | ID => mObserver?.Id |
The runtime Id of the Observer More... | |
string | TargetName => mTrackableName |
Name of the target of the Observer More... | |
Properties | |
TargetStatus | TargetStatus [get] |
Current status information of the target More... | |
Events | |
Action< ObserverBehaviour > | OnBehaviourDestroyed |
Triggered when this behaviour is destroyed. Can be used for script cleanup More... | |
Action< ObserverBehaviour, TargetStatus > | OnTargetStatusChanged |
Triggered when the TargetStatus changes More... | |
The base class of all observer behaviour components. Provides access to base functionality and information of the observer
int ID => mObserver?.Id |
The runtime Id of the Observer
string TargetName => mTrackableName |
Name of the target of the Observer
Current status information of the target
Action<ObserverBehaviour> OnBehaviourDestroyed |
Triggered when this behaviour is destroyed. Can be used for script cleanup
Action<ObserverBehaviour, TargetStatus> OnTargetStatusChanged |
Triggered when the TargetStatus changes