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