public void AddCommandToConsole()
 {
     DevConsole.AddCommandsToConsole(Command, this);
 }
示例#2
0
        public override void RunCommand(float index, float index2)
        {
            DevConsole console = GameObject.FindGameObjectWithTag("DevConsole").GetComponent <DevConsole>();

            console.consoleText.text = "";
        }
示例#3
0
 public override void RunCommandWithArg(string arg)
 {
     DevConsole.AddStaticMessageToConsole(Help);
 }
示例#4
0
 public void AddCommandToConsole()
 {
     DevConsole.AddCommandsToConsole(Command, this);
     DevConsole.AddStaticMessageToConsole(Command + ": " + Description);
 }
示例#5
0
 public override void RunCommand()
 {
     DevConsole.AddStaticMessageToConsole(Help);
 }