PrintDebug() public method

Prints a debug line to the console if Debug is true
public PrintDebug ( string s ) : void
s string The message
return void
        private void OnConsoleAttached(DeveloperConsole dc)
        {
            Tick += OnTick;

            _player = Game.Player;

            _developerConsole  = dc;
            _commandDispatcher = dc.CommandDispatcher;

            RegisterDefaultCommands();

            dc.PrintDebug("DefaultCommands loaded successfully.");
        }
        private void OnConsoleAttached(DeveloperConsole dc)
        {
            Tick += OnTick;

            _player = Game.Player;

            _developerConsole = dc;
            _commandDispatcher = dc.CommandDispatcher;

            RegisterDefaultCommands();

            dc.PrintDebug("DefaultCommands loaded successfully.");
        }