技能继续重构
This commit is contained in:
@@ -153,7 +153,7 @@ export class BuffComp extends Component {
|
||||
node.setPosition(pos);
|
||||
}
|
||||
in_atked(anm:string="atked",scale:number=1) {
|
||||
var path = "game/skills/"+anm;
|
||||
var path = "game/skill/boom/"+anm;
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
var node = instantiate(prefab);
|
||||
node.setScale(node.scale.x*scale,node.scale.y)
|
||||
|
||||
Reference in New Issue
Block a user