Skip to main content

InworldAnimation

Interface for handling emotion and gesture events from our server.

Properties

PropertyTypeDescription
AnimatorAnimatorThe animator that is attaching
CharacterInworldCharacterGets or sets the InworldCharacter that is attaching

API

FunctionReturn TypeDescriptionParameters
HandleMainStatusvoidThis is for handling the main status of a character, i.e., Idle, Talking, Walking, etc.status: incoming status
HandleEmotionvoidFor playing animation according to the target emotion. Please implement this function to select and play your customized animations.SpaffCode: An enum of emotion
HandleGesturevoidFor playing the target gesture's animations. Please implement this function to select and play your customized animations.gesture: An enum of target gesture