Ejemplo n.º 1
0
 private void RPC_ClientEquipSharedItem(string item_name)
 {
     if (item_name != "")
     {
         SharedItem shipped_item = (SharedItem)ItemCatalogue.RequestItem(item_name);
         shipped_item.context   = this;
         shipped_item.menu_form = Resources.Load <Sprite>(shipped_item.name() + "MenuForm");
         actionSlots.ChangeSharedItem(shipped_item);
     }
 }
Ejemplo n.º 2
0
 private void RPC_ClientEquipSharedItem(string item_name)
 {
     if (item_name != "")
     {
         SharedItem shipped_item = (SharedItem)amazon.RequestItem(item_name);
         shipped_item.context   = this;
         shipped_item.menu_form = image;
         actionSlots.ChangeSharedItem(shipped_item);
     }
 }