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