PersistentTrails.DebugMessages.debugMessage C# (CSharp) Method

debugMessage() public method

public debugMessage ( string input ) : void
input string
return void
        public void debugMessage(string input)
        {
            if (debugMode)
            {
                switch (outputMode)
                {
                    case OutputMode.both:
                        debugMessage(input, true, postToScreenDuration);
                        break;
                    case OutputMode.log:
                        debugMessage(input, true, 0f);
                        break;
                    case OutputMode.screen:
                        debugMessage(input, false, postToScreenDuration);
                        break;
                }
            }
        }

Same methods

DebugMessages::debugMessage ( string input, bool postToLog, float postToScreenDuration ) : void
DebugMessages::debugMessage ( string input, float postToScreenDuration ) : void