protected void Start() { handBounds = GetComponent <HandBounds>(); // Initially no hands are tacked or active. trackedHand = null; onLastHandLost.Invoke(); onHandDeactivate.Invoke(); }
protected override void OnEnable() { base.OnEnable(); handBounds = GetComponent <HandBounds>(); // Initially no hands are tacked or active. trackedController = null; OnLastHandLost.Invoke(); OnHandDeactivate.Invoke(); }
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(); }