This commit is contained in:
walkpan
2024-08-18 23:38:55 +08:00
parent e8dbb9bab3
commit 8f57f57c1d
1004 changed files with 234067 additions and 16087 deletions

View File

@@ -37,7 +37,12 @@ export class RoleSpine extends Component {
atk() {
this.spine.setAnimation(0, "atk", false);
}
magic(){
this.spine.setAnimation(0, "magic", false);
}
setSkin(value: string): void {
console.log("RoleSpine setSkin", value);
@@ -52,13 +57,8 @@ export class RoleSpine extends Component {
this.spine.color = color;
}
setPos(value: Vec3): void {
this.node.position = value;
}
checkTouch(event: EventTouch): boolean {
return false;
}
onDestroy() {
this.node.destroy();