예제 #1
0
 public bool AlreadyInInventory(WeaponItemData weaponData)
 {
     foreach (WeaponItemData w in arsenal)
     {
         if (w.GetItemName() == weaponData.GetItemName())
         {
             Debug.Log("Item Already In inventory");
             return(true);
         }
     }
     return(false);
 }