private void Awake()
 {
     gameSession = FindObjectOfType <GameSession>();
     currentGold = FindObjectOfType <CurrentGold>();
     if (gameSession.isLoadedGame)
     {
         LoadGame();
     }
 }
Beispiel #2
0
 private void Awake()
 {
     currentGold       = FindObjectOfType <CurrentGold>();
     equippedInventory = FindObjectOfType <EquippedInventory>();
 }
 private void Awake()
 {
     currentGold = FindObjectOfType <CurrentGold>();
 }