Exemple #1
0
 void Awake()
 {
     _playerScrapDropAndCollection = GetComponent <PlayerScrapDropAndCollection>();
     _towerBuilding      = FindObjectOfType <TowerBuilding>();
     _scrapInventory     = GetComponent <PlayerScrapInventory>();
     _towerBuildingUI    = FindObjectOfType <TowerBuildingUI>();
     _healthSlider.value = PlayerHealth;
 }
Exemple #2
0
 private void Awake()
 {
     _towerBuildingUI = FindObjectOfType <TowerBuildingUI>();
 }