BodyAnimation
This component is used to receive gesture events and/or emotion events from the server. It plays animations on that character.
Properties
Property | Type | Description |
---|
Animator | Animator | Gets or sets the animator this component is attached to |
Character | InworldCharacter | Gets or sets the character this component uses |
API
Function | Return Type | Description | Parameters |
---|
HandleMainStatus | void | Handle the main status of the character: Idle , Talking , Walking , etc. | status: incoming status |
HandleEmotion | void | Plays an animation according to the target emotion | SpaffCode: An enum of emotion |
HandleGesture | void | Plays the target gesture's animations | gesture: An enum of target gesture |