platformer
Public Member Functions | Public Attributes | Protected Attributes | List of all members
UnityPlatformer.Monitor Class Reference

Extend this class to print debug-info at screen More...

Inheritance diagram for UnityPlatformer.Monitor:
UnityPlatformer.InputMonitor UnityPlatformer.PlatformerCollider2DMonitor UnityPlatformer.CharacterMonitor

Public Member Functions

virtual void OnGUI ()
 Display text More...
 

Public Attributes

Color textColor = Color.white
 Text color More...
 
int debugFontSize = 15
 Font size More...
 
Vector2 position = Vector2.zero
 Position in the screen in pixels More...
 

Protected Attributes

string text
 Text to be displayed More...
 
GUIStyle guiStyle = new GUIStyle()
 Computed style More...
 

Detailed Description

Extend this class to print debug-info at screen

Member Function Documentation

◆ OnGUI()

virtual void UnityPlatformer.Monitor.OnGUI ( )
inlinevirtual

Display text

Member Data Documentation

◆ debugFontSize

int UnityPlatformer.Monitor.debugFontSize = 15

Font size

◆ guiStyle

GUIStyle UnityPlatformer.Monitor.guiStyle = new GUIStyle()
protected

Computed style

◆ position

Vector2 UnityPlatformer.Monitor.position = Vector2.zero

Position in the screen in pixels

◆ text

string UnityPlatformer.Monitor.text
protected

Text to be displayed

◆ textColor

Color UnityPlatformer.Monitor.textColor = Color.white

Text color


The documentation for this class was generated from the following file: