dd
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user