예제 #1
0
    private void InteractionManager_InteractionSourceReleased(InteractionSourceReleasedEventArgs hand)
    {
        FingerDown = false;

        if (InteractibleManager.Instance.FocusedGameObject != null)
        {
            FocusedGameObject = InteractibleManager.Instance.FocusedGameObject;
            Interactible interactor = FocusedGameObject.GetComponent <Interactible>();
            if (interactor != null)
            {
                interactor.OffSelect();
            }
        }
        ResetFocusedGameObject();
    }