public void Redo() { Command cmd = commandPool.GetNextRedoCommand(); Debug.Log("重做:" + cmd.ToString()); commandPool.Redo(); m_allCommands.Add(cmd); Debug.Log(commandPool.ToString()); selectIndex += 1; }