ItMayBeAHack OOD Exercises
An exercise in OOD as guided by ItMayBeAHack.com.
Public Member Functions | Properties | List of all members
uGUIConsole Class Reference

Handles output to a Unity Input Field via IOutputService implementation. Must be attached to a UI GameObject with an InputField component. More...

Inheritance diagram for uGUIConsole:
IOutputService

Public Member Functions

void Write (object value)
 Write object.ToString() to console. More...
 
void WriteFormat (string format, params object[] values)
 Write string format to console. More...
 
void Clear ()
 Clears console if available. More...
 
void WriteLine (object value)
 Writes a line to the console. More...
 

Properties

static uGUIConsole Instance [get]
 Singleton instance accessor More...
 

Detailed Description

Handles output to a Unity Input Field via IOutputService implementation. Must be attached to a UI GameObject with an InputField component.

Member Function Documentation

void uGUIConsole.Clear ( )

Clears console if available.

Implements IOutputService.

void uGUIConsole.Write ( object  value)

Write object.ToString() to console.

Parameters
value

Implements IOutputService.

void uGUIConsole.WriteFormat ( string  format,
params object[]  values 
)

Write string format to console.

Parameters
format
values

Implements IOutputService.

void uGUIConsole.WriteLine ( object  value)

Writes a line to the console.

Parameters
value

Implements IOutputService.

Property Documentation

uGUIConsole uGUIConsole.Instance
staticget

Singleton instance accessor


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