コード例 #1
0
 public void RemoveWeapon(Weapon.WeaponType weaponType)
 {
     Debug.Log("Removed Weapon: " + weaponType);
     weaponList.Remove(weaponType);
     OnWeaponsChanged?.Invoke(this, EventArgs.Empty);
 }
コード例 #2
0
 public void AddWeapon(Weapon.WeaponType weaponType)
 {
     Debug.Log("Added Weapon: " + weaponType);
     weaponList.Add(weaponType);
     OnWeaponsChanged?.Invoke(this, EventArgs.Empty);
 }