public void SetWeapon(BuyWeaponButton weaponReference) { this.weaponReference = weaponReference.weaponReference; }
public static GameObject SpawnWeaponButton(JDWeapon weapon) { GameObject weaponButton = (GameObject)Resources.Load(weapon.ResourceName); AttachWeaponButton(weaponButton).weaponReference = weapon; return weaponButton; }
public void PurchaseWeapon(JDWeapon weapon) { }
public void SetWeapon(WeaponButton weaponReference) { this.weaponReference = weaponReference.weaponReference; this.IsActive = true; }