protected virtual void HandleEnabledPointer() { if (EnabledPointerRenderer()) { pointerRenderer.InitalizePointer(this, invalidListPolicy, navMeshCheckDistance, headsetPositionCompensation); pointerRenderer.UpdateRenderer(); if (!IsPointerActive()) { bool currentPointerVisibility = pointerRenderer.IsVisible(); pointerRenderer.ToggleInteraction(currentPointerVisibility); } CheckHoverSelect(); } }
protected virtual void HandleEnabledPointer() { if (EnabledPointerRenderer()) { pointerRenderer.InitalizePointer(this, targetListPolicy, navmeshData, headsetPositionCompensation); pointerRenderer.UpdateRenderer(); if (!IsPointerActive()) { bool currentPointerVisibility = pointerRenderer.IsVisible(); pointerRenderer.ToggleInteraction(currentPointerVisibility); } CheckHoverSelect(); } else { Toggle(false); currentActivationState = 0; } }