Example #1
0
        private void Start()
        {
            m_gameScreenM = GameScreenManager.GetInstance();
            m_hudM        = HudManager.GetInstance();

            offset             = new Vector3(offset.x, offset.y, -Mathf.Abs(zoomMax) / 2);
            transform.position = ship.position;
        }
 private void Awake()
 {
     Instance = this;
     ReconfigureScreen();
 }
Example #3
0
 // HudManager инициализируется в Awake. Поключаться ко всем менеджерам нужно в Start.
 private void Start()
 {
     m_hudM   = HudManager.GetInstance();
     m_GameSM = GameScreenManager.GetInstance();
 }
Example #4
0
 private void Start()
 {
     gameScreenM = GameScreenManager.GetInstance();
 }