AboveHeadTextExample Class Reference

Detailed Description

This script simply shows a message above an object in the gameworld. The message is full HTML, so it can be anything at all.

Inheritance diagram for AboveHeadTextExample:

Public Member Functions

void Start ()
 
void ShowMessage (string message, GameObject aboveObject)
 Shows the given message above the given object. More...
 

Public Attributes

GameObject WhiteCubesMessageNode
 The white cubes "message gameobject" in the gameworld. More...
 
GameObject BlackCubesMessageNode
 The black cubes "message gameobject" in the gameworld. More...
 

Member Function Documentation

void AboveHeadTextExample.ShowMessage ( string  message,
GameObject  aboveObject 
)
inline

Shows the given message above the given object.

void AboveHeadTextExample.Start ( )
inline

Member Data Documentation

GameObject AboveHeadTextExample.BlackCubesMessageNode

The black cubes "message gameobject" in the gameworld.

GameObject AboveHeadTextExample.WhiteCubesMessageNode

The white cubes "message gameobject" in the gameworld.