Davide Tantillo 93c56d08d0 c3 backup
2025-11-03 15:16:29 +01:00

21 lines
468 B
TypeScript

import type { SDKInstanceClass } from "./instance.ts";
const C3 = globalThis.C3;
C3.Plugins.EsotericSoftware_SpineConstruct3.Acts =
{
Alert (this: SDKInstanceClass) {
alert("Test property = " + this._getTestProperty());
},
SetSkin (this: SDKInstanceClass, skinList: string) {
this.setSkin(skinList.split(","));
},
SetAnimation (this: SDKInstanceClass, track: number, animation: string, loop = false) {
this.setAnimation(track, animation, loop);
}
};