private void Awake() { uiMenue = FindObjectOfType <UIMenue>(); uIManager = FindObjectOfType <UIManager>(); uiTowerDirection = FindObjectOfType <UITowerDirection>(); uiTowerBuy = FindObjectOfType <UITowerBuy>(); uiTowerButtonList = FindObjectsOfType <UITowerButton>(); uiButtonHoverHandlerList = FindObjectsOfType <UIButtonHoverHandler>(); }
private void Awake() { state = GameState.Paused; healthController = FindObjectOfType <BaseHealthController>(); baseDeathController = FindObjectOfType <BaseDeathController>(); enemyManager = FindObjectOfType <EnemyManager>(); uiManager = FindObjectOfType <UIManager>(); uiMenue = FindObjectOfType <UIMenue>(); }
private void Awake() { uiInputController = FindObjectOfType <UIInputController>(); uiMenue = FindObjectOfType <UIMenue>(); levelManager = FindObjectOfType <LevelManager>(); }