Cerebrum™
|
Public Types | |
enum | IconType { Happy , Neutral , Angry } |
Public Member Functions | |
override bool | HandleMessage (string msg, string param, out string retString) |
Handles messages sent to this game object from current MyGameManager. | |
Static Public Member Functions | |
static void | Create (Transform parent, Vector3 localPosition, IconType iconType, string text) |
Public Attributes | |
Color | bubbleColor1 = Color.blue |
Static Public Attributes | |
static OMHChatBubble | ChatBubblePrefab |
Protected Member Functions | |
override void | Awake () |
whether object has animator with "Speed" parameter | |
override void | Update () |
Additional Inherited Members |
|
protectedvirtual |
whether object has animator with "Speed" parameter
Reimplemented from Cerebrum.ObjectMessageHandlerBase.
|
static |
|
virtual |
Handles messages sent to this game object from current MyGameManager.
follow AIM_OBJECT [TAGET_OBJECT | TARGET_OBJECT_TAG]
Follows the object TARGET_OBJECT or the object with tag TARGET_OBJECT_TAG.
TARGET_OBJECT | obect to move towards |
TARGET_OBJECT_TAG | tag of obect to move towards |
Examples:
SwitchToScene SCENE_NAME
Switches to SCENE_NAME parameter
SCENE_NAME | scene to switch to |
Examples:
Clickable objects and buttons
Clickable.ResetPressed
Resets clicked-on flag "pressed" to false
Examples:
Clickable.Reset
Resets clicked-on flags "pressed" to false and "clickable" to true
Examples:
Clickable.IsPressed
Checks whether object was clicked on (clicked-on flag "pressed" set)
Examples:
Clickable.On [ true | false ]
Checks whether object was clicked on (clicked-on flag set)
true | or 1 for on, false or 0 for off. Omitted parameter is on. |
Examples:
Audio commands
MOVETO message sets camera position and rotation. moveto/align/orient targetObject [duration]
LOOKAT message sets camera position and rotation. lookAt targetObject offset lookAt targetObject viewerObject(for position) lookAt targetObject ("close", "medium", or "far"(using CameraTargetParams data))
Menu.on - turn object's menu on
Menu.question - set menu's question
Menu.choices CHOICE_STRINGS - set multiple-choice choices
Menu.done - true when choice has been made
Menu.result MATCH_STRING - bool containing whether choice matches MATCH_STRING
Menu.choice - string containing the choice that user made
Switches to SCENE_NAME parameter
CHOICE_STRINGS | choices separated by space or comma. If choice has a space or commad, enclose in single quotes. |
MATCH_STRING | string exactly matching one of the choices |
Examples:
Reimplemented from Cerebrum.ObjectMessageHandlerBase.
|
protectedvirtual |
Reimplemented from Cerebrum.ObjectMessageHandlerBase.
Color Cerebrum.OMHChatBubble.bubbleColor1 = Color.blue |
|
static |