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