Пример #1
0
 private void Awake()
 {
     SpawnResource();
     upgradeButton.interactable = false;
     oxygenLogic = GetComponent <OxygenLogic>();
     audioSource = GetComponent <AudioSource>();
 }
Пример #2
0
 private void Start()
 {
     oxygenLogic = GetComponent <OxygenLogic>();
 }