Ejemplo n.º 1
0
 public void OnInventoryClick(InventoryObject o)
 {
     if (Player.Instance.GMode == GameMode.Inventory)
     {
         o.EquipObject();
     }
     else if (Player.Instance.GMode == GameMode.Container)
     {
         this.Remove(o);
         this.TargetContainer.Add(o);
     }
 }