Play Animation

Animation
Tanto lado del cliente como del usuario
Disponible en PC y móvil

The target plays the animation in the specified state

Declaración

func PlayAnimation(target entity<AnimationControllerAttachable>, state string, playSpeed float, loopType LoopType)
go

Parámetros

Entrada

Nombre Tipo Descripción
Target AnimationControllerAble The entity component that plays the animation. Can be mounted with an animation controller
State String The specified state of the animation controller
Play Speed Float Animation playback speed scaling
Loop Type AnimationOverrideLoopType Loop type, you can keep the original logic of the animation, play it only once or repeat