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); }
public void clickBattle() { this.close(); battleMenuUI.showBattleUI(roundController.getPlayerChara(), chara, true); //battleController.fighte(roundController.getPlayerChara(), chara); }
public void showBattleUI(Character chara1, Character chara2, bool isF) { Debug.Log("同房间战斗"); battleMenuUI.showBattleUI(chara1, chara2, isF); }