Emotion Canvas
This class is for the UI Component in sample scenes.
Properties
Property | Type | Description |
---|---|---|
Emotion | SpaffCode | The current Emotion of the character |
Gesture | GestureType | The current Gesture of the character |
API
Function | Return Type | Description | Parameters |
---|---|---|---|
SendEmotion | void | Set the emotion of the character | emotion: the emotion to send |
SendGesture | void | Set the gesture of the character | gesture: the gesture to send |
SetMainStatus | void | Set the main status of the character | mainStatus: the main status to send |