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

Automatically controls the color of objects based on a letter tile's state. More...

+ Inheritance diagram for LetterTileColorControl:
+ Collaboration diagram for LetterTileColorControl:

Properties

Object[] background [get, set]
 The background objects to control with this component. More...
 
string[] colorProperties [get, set]
 Gets or sets the color properties to change. More...
 
Object[] text [get, set]
 The text objects to control with this component. 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

Automatically controls the color of objects based on a letter tile's state.

This component must be on the same object as a letter tile.

Property Documentation

Object [] background
getset

The background objects to control with this component.

Accessing this property at runtime may cause new materials/meshes to be instantiated.

Supported object types:

  • Graphic (color property)
  • SpriteRenderer (color property)
  • TextMesh (color property)
  • GUIText (color property)
  • Renderer (color properties on material)
  • MeshFilter (vertex colors)
  • GameObject (will select the first component)
string [] colorProperties
getset

Gets or sets the color properties to change.

Object [] text
getset

The text objects to control with this component.

Accessing this property at runtime may cause new materials/meshes to be instantiated.

Supported object types:

  • Graphic (color property)
  • SpriteRenderer (color property)
  • TextMesh (color property)
  • GUIText (color property)
  • Renderer (color properties on material)
  • MeshFilter (vertex colors)
  • GameObject (will select the first component)