Beispiel #1
0
 public void Unequip(Character user, ItemInstance item)
 {
 }
Beispiel #2
0
 public void Hide(Character user, ItemInstance item)
 {
     GameObject.Destroy(user.weapon.gameObject);
     user.weapon = null;
 }
Beispiel #3
0
 public void Equip(Character user, ItemInstance item, int slot)
 {
 }
Beispiel #4
0
 public void Show(Character user, ItemInstance item)
 {
     user.weapon = GameObject.Instantiate(weapon).GetComponent <Weapon>();
 }