startIdle 开始闲置动作
startIdle
类型: MethodDeclaration
所属类: AnimationController
定义位置: actor.ts
描述
开始闲置动作
返回值
类型: void
源代码
位置: 第 3035 行
public startIdle(): void {
this.state = 'idle'
if (this.animation && this.playing === false) {
if (this.animation.motionName === this.idleMotion) return
if (this.animation.setMotion(this.idleMotion)) {
this.animation.restart()
}
}
}
文档生成时间:2025/7/7 12:07:06