This commit is contained in:
2025-01-08 17:19:22 +08:00
parent 9ce06358d5
commit aa2d915bb3
28 changed files with 1338 additions and 1165 deletions

View File

@@ -0,0 +1,21 @@
import { _decorator, Component, Node } from 'cc';
import { SkillCom } from './SkillCom';
import { SkillSet } from '../common/config/SkillSet';
const { ccclass, property } = _decorator;
@ccclass('seCom')
export class seCom extends Component {
base:SkillCom = null
start() {
this.base =this.node.getComponent(SkillCom)
}
update(deltaTime: number) {
if (this.base.is_destroy) {
console.log("执行第二技能",SkillSet[this.base.s_uuid].sonsk)
}
}
}