dd
This commit is contained in:
@@ -33,11 +33,11 @@ export class RoleSpine extends Component {
|
||||
this.spine = this.animator.getComponent(sp.Skeleton)!;
|
||||
}
|
||||
atk() {
|
||||
this.spine.setAnimation(0, "Throwing", false);
|
||||
this.spine.setAnimation(0, "atk2", false);
|
||||
}
|
||||
|
||||
magic() {
|
||||
this.spine.setAnimation(0, "Hit", false);
|
||||
this.spine.setAnimation(0, "max", false);
|
||||
}
|
||||
setSkin(value: string): void {
|
||||
console.log("RoleSpine setSkin", value);
|
||||
|
||||
Reference in New Issue
Block a user