Beispiel #1
0
 void ItemUse()
 {
     if (Input.GetKey(KeyCode.E))
     {
         if (Item1 != null)
         {
             Item1.UseItem();
             Item1 = null;
         }
     }
 }