DeveloperConsole.DeveloperConsole.PrintLine C# (CSharp) Method

PrintLine() public method

Prints a line to the console with the default text color
public PrintLine ( string s ) : void
s string The message
return void
        public void PrintLine(string s)
        {
            PrintLine(s, ConsoleSettings.DefaultTextColor);
        }

Same methods

DeveloperConsole::PrintLine ( string s, Color c ) : void

Usage Example

 private void ExampleCommandEventHandler(CommandDispatcher.CommandEventArgs e)
 {
     //Handle commands
     if (e.CommandName == "ping" && e.ArgIndex == 0)
     {
         _developerConsole.PrintLine("pong!");
     }
 }
All Usage Examples Of DeveloperConsole.DeveloperConsole::PrintLine