예제 #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;
        }
예제 #2
0
 // HudManager инициализируется в Awake. Поключаться ко всем менеджерам нужно в Start.
 private void Start()
 {
     m_hudM   = HudManager.GetInstance();
     m_GameSM = GameScreenManager.GetInstance();
 }
예제 #3
0
 private void Start()
 {
     gameScreenM = GameScreenManager.GetInstance();
 }