Word Game Builder 2.0.1f2
Reference Manual
Properties | List of all members
LetterTileTk2DControl Class Reference

Adds 2D Toolkit display to a letter tile. More...

+ Inheritance diagram for LetterTileTk2DControl:
+ Collaboration diagram for LetterTileTk2DControl:

Properties

MonoBehaviour letterLabel [get, set]
 Gets or sets the letter label. More...
 
MonoBehaviour scoreLabel [get, set]
 Gets or sets the score label. More...
 
MonoBehaviour[] sprites [get, set]
 Gets or sets the list of sprites. More...
 
- Properties inherited from WGBBase
object userData [get, set]
 Additional user data associated with this object. This is unused by default. More...
 

Additional Inherited Members

- Public Member Functions inherited from WGBBase
GetComponentFromInterface< T > ()
 Gets a component from its interface type. More...
 
GetComponentInChildrenFromInterface< T > ()
 Gets a component from its interface type, searching through this GameObject and all children. More...
 
T[] GetComponentsFromInterface< T > ()
 Gets all components from its interface type. More...
 
T[] GetComponentsInChildrenFromInterface< T > ()
 Gets all components from its interface type, searching through this GameObject and all children. More...
 
- Static Public Member Functions inherited from WGBBase
static T FindObjectOfTypeFromInterface< T > ()
 Finds the first object of interface type T. More...
 
static T[] FindObjectsOfTypeFromInterface< T > ()
 Finds all objects of interface type T. More...
 
static T InstantiateFromInterface< T > (T original)
 Instantiate a GameObject from interface type T. More...
 
static T InstantiateFromInterface< T > (T original, Vector3 position, Quaternion rotation)
 Instantiate a GameObject from interface type T at the specified position and rotation. More...
 
static void Log (object message, string prefix, string type)
 Logs a prefixed message. More...
 
static void Log (object message, string prefix, string type, Object context)
 Logs a prefixed message, with context. More...
 
static void LogError (object message, string prefix, string type)
 Logs a prefixed erorr. More...
 
static void LogError (object message, string prefix, string type, Object context)
 Logs a prefixed exception, with context. More...
 
static void LogException (System.Exception ex)
 Logs an exception. More...
 
static void LogException (System.Exception ex, Object context)
 Logs an exception, with context. More...
 
static void LogWarning (object message, string prefix, string type)
 Logs a prefixed warning. More...
 
static void LogWarning (object message, string prefix, string type, Object context)
 Logs a prefixed warning, with context. More...
 

Detailed Description

Adds 2D Toolkit display to a letter tile.

This component must be on the same object as a letter tile. Use LetterTileVisibilityControl to modify control and label visibility.

Property Documentation

MonoBehaviour letterLabel
getset

Gets or sets the letter label.

The label must be of the type tk2dTextMesh.

MonoBehaviour scoreLabel
getset

Gets or sets the score label.

The label must be of the type tk2dTextMesh.

MonoBehaviour [] sprites
getset

Gets or sets the list of sprites.

All sprites must be of the type tk2dBaseSprite.