TargetController Class¶
Description¶
MonoBehaviour which controls tracking target in the scene, providing a few extensions in the Unity environment.
Properties¶
ActiveController¶
- C#
public ActiveController ActiveController { get; }
GameObject .activeSelf controller.
Set MonoBehaviour .enabled to false to turn off control.
IsTracked¶
- C#
public bool IsTracked { get; }
Is target being tracked.
Events¶
TargetFound¶
- C#
public event Action TargetFound
Tracking target found event.
TargetLost¶
- C#
public event Action TargetLost
Tracking target lost event.