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