Пример #1
0
 private void Update()
 {
     if (turnSys.GetStatusNow() == GameStatus.PlayerAct)
     {
         //鼠标右键返回上一步
         if (Input.GetKeyUp(KeyCode.Mouse1))
         {
             if (!actionsMenu.activeSelf && enemyUnitsMenu.activeSelf)
             {
                 enemyUnitsMenu.SetActive(false);
                 actionsMenu.SetActive(true);
             }
             if (!actionsMenu.activeSelf && skillLayer.activeSelf)
             {
                 skillLayer.SetActive(false);
                 actionsMenu.SetActive(true);
             }
         }
     }
 }