// Start is called before the first frame update void Start() { boxCollider = GetComponent <BoxCollider>(); alreadyHit = new List <GameObject>() { gameObject }; buyControls = FindObjectOfType <AMS_BuyMenuPlayer>().buyMenuGUI.GetComponent <AMS_BuyControls>(); }
public PlayerData(AMS_BuyControls buy) { boughtweapon = buy.GetComponent <AMS_BuyControls>().boughtWeapon; }