NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
NGUIDebug Class Reference

This class is meant to be used only internally. It's like Debug.Log, but prints using OnGUI to screen instead. More...

Inheritance diagram for NGUIDebug:

Static Public Member Functions

static void CreateInstance ()
 Ensure we have an instance present. More...
 
static void Log (params object[] objs)
 Add a new log entry, printing all of the specified parameters. More...
 
static void Clear ()
 Clear the logged text. More...
 
static void DrawBounds (Bounds b)
 Draw bounds immediately. Won't be remembered for the next frame. More...
 

Properties

static bool debugRaycast [get, set]
 Set by UICamera. Can be used to show/hide raycast information. More...
 

Detailed Description

This class is meant to be used only internally. It's like Debug.Log, but prints using OnGUI to screen instead.

Member Function Documentation

static void NGUIDebug.Clear ( )
static

Clear the logged text.

static void NGUIDebug.CreateInstance ( )
static

Ensure we have an instance present.

static void NGUIDebug.DrawBounds ( Bounds  b)
static

Draw bounds immediately. Won't be remembered for the next frame.

static void NGUIDebug.Log ( params object[]  objs)
static

Add a new log entry, printing all of the specified parameters.

Property Documentation

bool NGUIDebug.debugRaycast
staticgetset

Set by UICamera. Can be used to show/hide raycast information.


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