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

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

            handBounds = GetComponent <HandBounds>();

            // Initially no hands are tacked or active.
            trackedController = null;
            OnLastHandLost.Invoke();
            OnHandDeactivate.Invoke();
        }
Example #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();
        }