清理 skills下的无效文件,有用的迁移到skill目录

This commit is contained in:
2025-10-25 15:51:24 +08:00
parent 957cd6d453
commit 331effddaa
28 changed files with 10 additions and 573 deletions

View File

@@ -0,0 +1,25 @@
import { _decorator, Component, Node } from 'cc';
import { SkillSet } from '../common/config/SkillSet';
import { smc } from '../common/SingletonModuleComp';
const { ccclass, property } = _decorator;
@ccclass('timedCom')
export class timedCom extends Component {
time = 0.3;
cd: number = 0;
ap: number = 0;
start() {
}
update(deltaTime: number) {
this.time -= deltaTime;
if(this.time <= 0)
{
this.node.destroy()
}
}
}