旋风斩 螺旋丸 完成

This commit is contained in:
2025-01-09 15:51:00 +08:00
parent b1e50d0721
commit 2903e06ed4
17 changed files with 1199 additions and 117 deletions

View File

@@ -1,23 +1,19 @@
import { _decorator, Component, Node, tween, Vec3 } from 'cc';
import { SkillCom } from './SkillCom';
import { SkillSet } from '../common/config/SkillSet';
const { ccclass, property } = _decorator;
@ccclass('NoRunCom')
export class NoRunCom extends Component {
base:SkillCom
start() {
let base =this.node.getComponent(SkillCom)
tween(this.node).to( base.in_time,
{ position: new Vec3(this.node.position.x,this.node.position.y) },
{
onComplete: (target?: object) => {
base.is_destroy=true
},
}
).start();
this.base =this.node.getComponent(SkillCom)
}
update(deltaTime: number) {
}
}