Skip to main content
Version: 0.14.0

Animation

Description​

Used to apply animations to an agent.

Interface​

Type
IAnimationService

Inherits​

Type
N/A

Properties​

NameType
animationStateIBespokeAgentData
controllerAnimator
overrideControllerAnimationOverrideController
dynamicServiceIDynamicService

Public Methods​

NameParametersReturn TypeDescription
AnimationServiceIState startStateAnimationServiceA constructor for AnimationService.
SetAnimationClipstring clipName, AnimationClip newClipbooleanUses the overrideController to change an animation on the controller.
SetupGameObject parent, IDynamicService dynamicService = nullbooleanUsed to setup the dynamicService and to initialise.
UpdateStateIState newStatebooleanUpdates the animation state of the agent and returns if successful.
ApplyN/AvoidApplies the current animation state to the controller.
GetStateN/AIStateReturns the animationState.
GetDynamicServiceN/AIDynamicServiceReturns the dynamicService.