void OnSetup()
 {
     // Add references to other scripts
     gameManager  = GameManager.Instance;
     utilities    = Utilities.Instance;
     idles        = Idles.Instance;
     moneyManager = MoneyManager.Instance;
     gameManager  = GameManager.Instance;
 }
Beispiel #2
0
 void Awake()
 {
     Instance = this;
     prefabs  = new List <Buyable>();
 }