改了 好多
This commit is contained in:
@@ -103,13 +103,14 @@ export class BuffComp extends Component {
|
||||
this.node.getChildByName("buff").active = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
max_show(name:string){
|
||||
var path = "game/skills/"+name;
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
var node = instantiate(prefab);
|
||||
node.parent = this.node;
|
||||
}
|
||||
|
||||
show_do_buff(name:string){
|
||||
var path = "game/skills/"+name;
|
||||
var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||
|
||||
Reference in New Issue
Block a user