// Start is called before the first frame update void Start() { diamods = FindObjectOfType <PlayerCoinsPrefs>(); playernextlevel = FindObjectOfType <PlayerCurrentNextPref>(); ScoreControl = FindObjectOfType <PlayerLevelControl>(); leveLCompletion = FindObjectOfType <LeveLCompletion>(); damageamount = FindObjectOfType <AmountOfDamage>(); SetHealthdamage(); }
private void Start() { bigEnemyCoins = FindObjectOfType <PlayerCoinsPrefs>(); ScoreControl = FindObjectOfType <PlayerLevelControl>(); leveLCompletion = FindObjectOfType <LeveLCompletion>(); damageamount = FindObjectOfType <AmountOfDamage>(); m_playerpref = FindObjectOfType <PlayerCurrentNextPref>(); }
// Start is called before the first frame update void Start() { m_diamonds = FindObjectOfType <PlayerCoinsPrefs>(); setText(); }
void Start() { m_damageupdate = FindObjectOfType <PlayerEnergyPref>(); m_gateway = FindObjectOfType <PlayerCoinsPrefs>(); m_purchaseGateway = FindObjectOfType <PlayerPrefPurchase>(); }
// Start is called before the first frame update void Start() { m_coinsupdated = FindObjectOfType <PlayerCoinsPrefs>(); }
// Start is called before the first frame update void Start() { UpdateScore = FindObjectOfType <PlayerCoinsPrefs>(); }