Word Game Builder 2.0.1f2
Reference Manual
|
The base class for all Word Game Builder components. More...
Public Member Functions | |
T | GetComponentFromInterface< T > () |
Gets a component from its interface type. More... | |
T | 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 | |
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... | |
Properties | |
object | userData [get, set] |
Additional user data associated with this object. This is unused by default. More... | |
The base class for all Word Game Builder components.
|
inlinestatic |
Finds the first object of interface type T.
T | The interface type to find. Must be an IMonoBehaviour. |
T | : | class | |
T | : | IMonoBehaviour |
|
inlinestatic |
Finds all objects of interface type T.
T | The interface type to find. Must be an IMonoBehaviour. |
T | : | class | |
T | : | IMonoBehaviour |
|
inline |
Gets a component from its interface type.
T | The interface type of the component. Must be an IMonoBehaviour. |
T | : | class | |
T | : | IMonoBehaviour |
|
inline |
Gets a component from its interface type, searching through this GameObject and all children.
T | The interface type of the component. Must be an IMonoBehaviour. |
T | : | class | |
T | : | IMonoBehaviour |
|
inline |
Gets all components from its interface type.
T | The interface type of the component. Must be an IMonoBehaviour. |
T | : | class | |
T | : | IMonoBehaviour |
|
inline |
Gets all components from its interface type, searching through this GameObject and all children.
T | The interface type of the component. Must be an IMonoBehaviour. |
T | : | class | |
T | : | IMonoBehaviour |
|
inlinestatic |
Instantiate a GameObject from interface type T.
T | The interface type to instantiate. Must be an IMonoBehaviour. |
original | The object to instantiate. |
T | : | class | |
T | : | IMonoBehaviour |
|
inlinestatic |
Instantiate a GameObject from interface type T at the specified position and rotation.
T | The interface type to instantiate. Must be an IMonoBehaviour. |
original | The object to instantiate. |
position | The position to instantiate the new object at. |
rotation | The rotation to instantiate the new object at. |
T | : | class | |
T | : | IMonoBehaviour |
|
inlinestatic |
Logs a prefixed message.
message | The message to log. |
prefix | The prefix to log with the message. |
type | An identifier formatted with the prefix. |
|
inlinestatic |
Logs a prefixed message, with context.
message | The message to log. |
prefix | The prefix to log with the message. |
type | An identifier formatted with the prefix. |
context | Object to which the message applies. |
|
inlinestatic |
Logs a prefixed erorr.
message | The message to log. |
prefix | The prefix to log with the message. |
type | An identifier formatted with the prefix. |
|
inlinestatic |
Logs a prefixed exception, with context.
message | The message to log. |
prefix | The prefix to log with the message. |
type | An identifier formatted with the prefix. |
context | Object to which the message applies. |
|
inlinestatic |
Logs an exception.
ex | The exception to log. |
|
inlinestatic |
Logs an exception, with context.
ex | The exception to log. |
context | Object to which the message applies. |
|
inlinestatic |
Logs a prefixed warning.
message | The message to log. |
prefix | The prefix to log with the message. |
type | An identifier formatted with the prefix. |
|
inlinestatic |
Logs a prefixed warning, with context.
message | The message to log. |
prefix | The prefix to log with the message. |
type | An identifier formatted with the prefix. |
context | Object to which the message applies. |
|
getset |
Additional user data associated with this object. This is unused by default.
Implements IMonoBehaviour.