Ejemplo n.º 1
0
 public void closeBagItemUI()
 {
     if (battleMenuUI != null)
     {
         Debug.Log("player 1" + player);
         Debug.Log("enemy 1" + this.usedChara);
         if (battleMenuUI.getShowAgain())
         {
             battleMenuUI.showBattleUI(player, this.usedChara, battleMenuUI.isFighter);
         }
     }
     BagItemMenuUI.SetActive(false);
     BagItemMenuUI.transform.localPosition = hidePos;
     selectItem   = null;
     battleMenuUI = null;
     mouseMoveManger.updateLock(false);
 }
Ejemplo n.º 2
0
 public void clickBattle()
 {
     this.close();
     battleMenuUI.showBattleUI(roundController.getPlayerChara(), chara, true);
     //battleController.fighte(roundController.getPlayerChara(), chara);
 }
Ejemplo n.º 3
0
 public void showBattleUI(Character chara1, Character chara2, bool isF)
 {
     Debug.Log("同房间战斗");
     battleMenuUI.showBattleUI(chara1, chara2, isF);
 }