public override void Exec() { timePanel.SetActive(true); //执行UI动作 uiManager.SetLabel(timeStr, placeStr, ""); uiManager.Show(this); }
public override void Exec() { timePanel.SetActive(true); TimeUIManager uiManager = timePanel.GetComponent <TimeUIManager>(); //若UI控制动作完成 if (uiManager.finished) { //将Piece标记已完成 finished = true; uiManager.Close(); } else { //执行UI动作 uiManager.Show(timeStr, placeStr); } }