private void OnPlayerCoinPickedUp(object coins) { SaveLoadController slc = SaveLoadController.GetInstance(); slc.GetPlayer().AddTotalCoins((int)coins); slc.GetEndlessSession().AddCoinsCollected((int)coins); }
private void OnPlayerCoinPickedUp(object coins) { SaveLoadController slc = SaveLoadController.GetInstance(); slc.GetPlayer().AddTotalCoins((int)coins); slc.GetEndlessSession().AddCoinsCollected((int)coins); }