/// <summary> /// Register command into Console UI System /// </summary> /// <param name="cmd">command instance</param> public static void RegistCmd(CommandBase cmd) { instance._RegistCmd(cmd); }
/// <summary> /// Register command into Console UI System. /// </summary> /// <param name="cmd">command instance</param> private void _RegistCmd(CommandBase cmd) { cmdDict.Add(cmd.cmd, cmd); }