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