5555
This commit is contained in:
@@ -26,7 +26,7 @@ export class RoleSpine extends Component implements ICharactorClip {
|
||||
|
||||
onLoad() {
|
||||
// 角色控制组件
|
||||
this.charactor = this.addComponent(Charactor)!;
|
||||
// this.charactor = this.addComponent(Charactor)!;
|
||||
|
||||
this.initAnimator();
|
||||
|
||||
@@ -66,6 +66,9 @@ export class RoleSpine extends Component implements ICharactorClip {
|
||||
break;
|
||||
}
|
||||
}
|
||||
setSkin(value: string): void {
|
||||
this.spine.setSkin(value);
|
||||
}
|
||||
|
||||
setAlpha(value: number): void {
|
||||
var color: Color = this.spine.color;
|
||||
|
||||
Reference in New Issue
Block a user