| 
    NiceTouch v2.2
    
   | 
 
This class displays an on-screen console for easier debugging DO NOT ADD THIS CLASS AS A COMPONENT. More...
Inherits MonoBehaviour.
Public Member Functions | |
| virtual void | SetFontSize (int fontSize) | 
| Sets the size of the font, and automatically deduces the character's height and width.  More... | |
| virtual void | SetScreenOffset (int top=10, int left=10) | 
| Sets the screen offset, from the top left corner  More... | |
| virtual void | SetMessage (string newMessage) | 
| Replaces the content of the current message stack with the specified string  More... | |
| virtual void | AddMessage (string newMessage) | 
| Adds the specified message to the message stack.  More... | |
Protected Member Functions | |
| virtual void | OnGUI () | 
| Draws a box containing the current stack of messages on top of the screen.  More... | |
Protected Attributes | |
| string | _messageStack | 
| int | _numberOfMessages =0 | 
| bool | _messageStackHasBeenDisplayed =false | 
| int | _largestMessageLength =0 | 
| int | _marginTop = 10 | 
| int | _marginLeft = 10 | 
| int | _padding = 10 | 
| int | _fontSize = 10 | 
| int | _characterHeight = 16 | 
| int | _characterWidth = 6 | 
This class displays an on-screen console for easier debugging DO NOT ADD THIS CLASS AS A COMPONENT.
Instead, use the MMDebug.DebugOnScreen methods that will take care of everything
      
  | 
  virtual | 
Adds the specified message to the message stack.
| newMessage | New message. | 
      
  | 
  protectedvirtual | 
Draws a box containing the current stack of messages on top of the screen.
      
  | 
  virtual | 
Sets the size of the font, and automatically deduces the character's height and width.
| fontSize | Font size. | 
      
  | 
  virtual | 
Replaces the content of the current message stack with the specified string
| newMessage | New message. | 
      
  | 
  virtual | 
Sets the screen offset, from the top left corner
| top | |
| left | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |