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