Exemplo n.º 1
0
 public void GetMyInfo(Types.Character type, UI.ItemID item)
 {
     this.type = type;
     this.item = item;
     Debug.Log(this.type);
     Debug.Log(this.item);
 }
Exemplo n.º 2
0
 public void OnClickBackButton()
 {
     SoundManager.instance.PlayOneShotSE("Sound/Effect/Button");
     isStart                       = false;
     this.type                     = new Types.Character();
     this.item                     = new UI.ItemID();
     myTypeImg.sprite              = null;
     myItemImg.sprite              = null;
     evt.hashTable["select_type"]  = Event.SelectedType.UI;
     evt.hashTable["select_ui_id"] = UI.ID.CreditButton;
     Core.Event.Dispatcher.Dispatch(evt);
 }
Exemplo n.º 3
0
            public void SetItemImage(UI.ItemID item)
            {
                int ItemList;
                InGameUIController ctn = Get <InGameUIController>((int)UI.ID.IngameUIController);

                if (PhotonNetwork.isMasterClient)
                {
                    ItemList = 0;
                }
                else
                {
                    ItemList = 1;
                }
                myItem = ctn.itemList[ItemList].transform.GetChild((int)item).gameObject;
                myItem.SetActive(true);
            }
Exemplo n.º 4
0
            public void GetMyInfo(Types.Character type, UI.ItemID item)
            {
                RoomListController ctn = Get <RoomListController>((int)UI.ID.RoomListController);

                ctn.GetMyInfo(type, item);
            }