protected void Start()
        {
            handBounds = GetComponent <HandBounds>();

            // Initially no hands are tacked or active.
            trackedHand = null;
            onLastHandLost.Invoke();
            onHandDeactivate.Invoke();
        }
Beispiel #2
0
        protected override void OnEnable()
        {
            base.OnEnable();

            handBounds = GetComponent <HandBounds>();

            // Initially no hands are tacked or active.
            trackedController = null;
            OnLastHandLost.Invoke();
            OnHandDeactivate.Invoke();
        }
Beispiel #3
0
        protected override void OnEnable()
        {
            base.OnEnable();
            InputSystem?.RegisterHandler <IMixedRealitySourceStateHandler>(this);

            handBounds = GetComponent <HandBounds>();

            // Initially no hands are tacked or active.
            trackedHand = null;
            onLastHandLost?.Invoke();
            onHandDeactivate?.Invoke();
        }