Exemplo n.º 1
0
 // 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>();
 }
Exemplo n.º 2
0
 public PlayerData(AMS_BuyControls buy)
 {
     boughtweapon = buy.GetComponent <AMS_BuyControls>().boughtWeapon;
 }