private void Exit(XRPhysicsInteractor interactor) { if (_hoverState != HoverState.Press) { _hitTargetInstance.gameObject.SetActive(false); } }
private void Stay(XRPhysicsInteractor interactor) { if (_hoverState != HoverState.Press) { _hitTargetInstance.transform.position = interactor.CurrentHitRay.origin; _hitTargetInstance.transform.up = interactor.CurrentHitRay.direction; } }
private void Enter(XRPhysicsInteractor interactor) { _hitTargetInstance.gameObject.SetActive(true); }