public int item;//choose between Weapon,Rarity,Element,Rounds private void Start() { the_RWG = FindObjectOfType <RandomWeaponGenerator>(); the_PM = FindObjectOfType <PlayerManager>(); item_Cost_Text.text = "$" + item_Cost.ToString(); }
private void Start() { the_RWG = GetComponent <RandomWeaponGenerator>(); the_GUI = GetComponent <GUNinatorUI>(); WeaponType(0); RarityType(0); ElementType(0); RoundType(0); }