停止动画

动画
Both Server and Client
Both Mobile and PC

停止播放目标指定状态下的动画

声明

func StopAnimation(target entity<AnimationControllerAttachable>, state string)
go

参数

输入

名称 类型 描述
目标 AnimationControllerAble 播放动画的可挂载动画控制器的实体组件
动画状态 String 动画控制器的指定状态