Skip to main content

Emotion Canvas

This class is for the UI Component in sample scenes.

Properties

PropertyTypeDescription
EmotionSpaffCodeThe current Emotion of the character
GestureGestureTypeThe current Gesture of the character

API

FunctionReturn TypeDescriptionParameters
SendEmotionvoidSet the emotion of the characteremotion: the emotion to send
SendGesturevoidSet the gesture of the charactergesture: the gesture to send
SetMainStatusvoidSet the main status of the charactermainStatus: the main status to send