private void PickEnemy() { numberOfDrops = (int)enumInventory.NULL; int randomNum = Random.Range(0, numberOfDrops); drop = (enumInventory)randomNum; }
public void AddItem(enumInventory item) { int firstEmptySlot = GetFirstEmptySlot(); inventoryArray[firstEmptySlot] = item; inventorySize++; if (inventorySize == 1) { InitializeSelected(); } }