InworldAnimation
Interface for handling emotion and gesture events from our server.
Properties
Property | Type | Description |
---|---|---|
Animator | Animator | The animator that is attaching |
Character | InworldCharacter | Gets or sets the InworldCharacter that is attaching |
API
Function | Return Type | Description | Parameters |
---|---|---|---|
HandleMainStatus | void | This is for handling the main status of a character, i.e., Idle , Talking , Walking , etc. | status: incoming status |
HandleEmotion | void | For playing animation according to the target emotion. Please implement this function to select and play your customized animations. | SpaffCode: An enum of emotion |
HandleGesture | void | For playing the target gesture's animations. Please implement this function to select and play your customized animations. | gesture: An enum of target gesture |