C# Class UnityPlatformer.Monitor

Extend this class to print debug-info at screen
Inheritance: UnityEngine.MonoBehaviour
Show file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
debugFontSize int
position UnityEngine.Vector2
textColor UnityEngine.Color

Protected Properties

Property Type Description
guiStyle UnityEngine.GUIStyle
text string

Public Methods

Method Description
OnGUI ( ) : void

Display text

Method Details

OnGUI() public method

Display text
public OnGUI ( ) : void
return void

Property Details

debugFontSize public property

Font size
public int debugFontSize
return int

guiStyle protected property

Computed style
protected GUIStyle,UnityEngine guiStyle
return UnityEngine.GUIStyle

position public property

Position in the screen in pixels
public Vector2,UnityEngine position
return UnityEngine.Vector2

text protected property

Text to be displayed
protected string text
return string

textColor public property

Text color
public Color,UnityEngine textColor
return UnityEngine.Color