mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[ts] And another fix for args...
This commit is contained in:
parent
aa5282b398
commit
a4fcc0cdbf
2664
spine-ts/build/spine-webgl.d.ts
vendored
2664
spine-ts/build/spine-webgl.d.ts
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -361,7 +361,7 @@ module spine {
|
||||
setAnimation (trackIndex: number, animationName: string, loop: boolean) {
|
||||
let animation = this.data.skeletonData.findAnimation(animationName);
|
||||
if (animation == null) throw new Error("Animation not found: " + animationName);
|
||||
return this.setAnimation(trackIndex, animation, loop);
|
||||
return this.setAnimationWith(trackIndex, animation, loop);
|
||||
}
|
||||
|
||||
setAnimationWith (trackIndex: number, animation: Animation, loop: boolean) {
|
||||
@ -420,7 +420,7 @@ module spine {
|
||||
}
|
||||
|
||||
setEmptyAnimation (trackIndex: number, mixDuration: number) {
|
||||
let entry = this.setAnimation(trackIndex, AnimationState.emptyAnimation, false);
|
||||
let entry = this.setAnimationWith(trackIndex, AnimationState.emptyAnimation, false);
|
||||
entry.mixDuration = mixDuration;
|
||||
entry.trackEnd = mixDuration;
|
||||
return entry;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user