释放技能动画 设定在技能参数中+伤害系统建立
This commit is contained in:
@@ -80,11 +80,11 @@ export class BuffComp extends Component {
|
||||
}
|
||||
|
||||
|
||||
max_show(){
|
||||
// this.node.getChildByName("max").active=true
|
||||
// this.scheduleOnce(()=>{
|
||||
// this.node.getChildByName("max").active=false
|
||||
// },0.8)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user