mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fix setAnimationTime action parameter order.
This commit is contained in:
parent
8cbb8f257f
commit
0347e5f6ab
@ -89,7 +89,7 @@ C3.Plugins.EsotericSoftware_SpineConstruct3.Acts =
|
|||||||
this.setAnimationSpeed(speed);
|
this.setAnimationSpeed(speed);
|
||||||
},
|
},
|
||||||
|
|
||||||
SetAnimationTime (this: SDKInstanceClass, units: 0 | 1, track: number, time: number) {
|
SetAnimationTime (this: SDKInstanceClass, track: number, time: number, units: 0 | 1) {
|
||||||
this.setAnimationTime(units, time, track);
|
this.setAnimationTime(units, time, track);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -583,7 +583,7 @@ class SpineC3Instance extends globalThis.ISDKWorldInstanceBase {
|
|||||||
this.animationSpeed = speed;
|
this.animationSpeed = speed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public setAnimationTime (units: 0 | 1, track: number, time: number) {
|
public setAnimationTime (units: 0 | 1, time: number, track: number) {
|
||||||
if (!this.state) return;
|
if (!this.state) return;
|
||||||
|
|
||||||
const trackEntry = this.state.tracks[track];
|
const trackEntry = this.state.tracks[track];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user