Пример #1
0
 void Start()
 {
     states = GetComponent <StateManager>();
     states.Init();
     cameraManager = CameraManger.singleton;
     cameraManager.Init(this.transform);
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     states = GetComponent <StateManager>();
     states.Init();
     camManager = CameraManager.singleton;
     camManager.Init(states);
 }
Пример #3
0
        //-----------------------------------------------------------------------

        void Start()
        {
            states = GetComponent <StateManager> ();
            states.Init();

            camManager = CameraManager.singleton;
            camManager.Init(states);

            uiManager = UIManager.singleton;

            dialogueManager = DialogueManager.singleton;

            Cursor.lockState = CursorLockMode.Locked;
            Cursor.visible   = false;
        }