Ejemplo n.º 1
0
        private void Start()
        {
            started = true;

            InputManager.AssertIsInitialized();
            FocusManager.AssertIsInitialized();
            GazeManager.AssertIsInitialized();

            AddInputManagerListenerIfNeeded();
            FindCursorIfNeeded();
            ConnectBestAvailablePointer();
        }
        private void Start()
        {
            gazeManager = GazeManager.Instance;
            fadeControl = FadeScript.Instance;
            SpeedScale  = 0.6f;

            teleportMarker = Instantiate(TeleportMarker);
            teleportMarker.SetActive(false);

            animationController = teleportMarker.GetComponentInChildren <Animator>();
            if (animationController != null)
            {
                animationController.StopPlayback();
            }
        }
Ejemplo n.º 3
0
 private void Start()
 {
     gazeManager = GazeManager.Instance;
     RegisterManagers();
 }
Ejemplo n.º 4
0
 protected void Start()
 {
     gazeManager = GazeManager.Instance;
     RegisterManagers();
 }