dd
This commit is contained in:
@@ -61,6 +61,9 @@ export class MonsterSpine extends Component {
|
||||
play(animName: string, loop: boolean): void {
|
||||
this.spine.setAnimation(0, animName, loop);
|
||||
}
|
||||
atk() {
|
||||
this.spine.setAnimation(0, "atk", false);
|
||||
}
|
||||
setAlpha(value: number): void {
|
||||
var color: Color = this.spine.color;
|
||||
color.a = 255 * (value / 1);
|
||||
|
||||
Reference in New Issue
Block a user