예제 #1
0
 private void StartTeleportSelection()
 {
     Player.instance.SetState(Player.PlayerState.Teleporting);
     detector.StartSelection(currentController);
     visualizer.StartSelection(currentController);
     selectionIsActive = true;
 }
예제 #2
0
        private void StartTeleportSelection()
        {
            if (selectionIsActive == false)
            {
                return;
            }

            Transform controllerTransform = GetControllerTransform();

            detector.StartSelection(controllerTransform);
            visualizer.StartSelection(controllerTransform);
        }
예제 #3
0
 private void StartTeleportSelection()
 {
     detector.StartSelection(currentController);
     visualizer.StartSelection(currentController);
     selectionIsActive = true;
 }