Class TargetController
- 네임스페이스
- easyar
- 어셈블리
- EasyAR.Sense.dll
씬에서 추적 대상을 제어하는 MonoBehaviour로, Unity 환경에서 기능 확장을 제공합니다.
[DisallowMultipleComponent]
[RequireComponent(typeof(ActiveController))]
public abstract class TargetController : MonoBehaviour
- 상속
-
TargetController
- 파생
속성
ActiveController
activeSelf 컨트롤러.
MonoBehaviour.enabled를 false로 설정하면 제어를 끌 수 있습니다.
public ActiveController ActiveController { get; }
IsTracked
대상이 추적되고 있는지 여부.
public bool IsTracked { get; }
이벤트
TargetFound
추적 대상의 이벤트를 찾습니다.
public event Action TargetFound
TargetLost
추적 대상 분실 발생.
public event Action TargetLost