解决一些小问题

This commit is contained in:
2025-11-01 15:02:31 +08:00
parent d014e63d27
commit cb844cf65f
32 changed files with 368 additions and 505 deletions

View File

@@ -1,6 +1,5 @@
import { _decorator, Component, Node, view, UITransform, Vec3, math, EventHandler, Graphics, Color, TweenEasing, Enum } from 'cc';
import { smc } from '../common/SingletonModuleComp';
import { AtkConCom } from '../skill/AtkConCom';
const { ccclass, property } = _decorator;
// 定义缓动类型枚举
@@ -154,12 +153,6 @@ export class BezierMove extends Component {
this._isMoving = false;
// 触发移动完成事件
// console.log("onMoveComplete")
let acom=this.node.getComponent(AtkConCom)
let skill=acom
if(skill){
skill.doDestroy()
}
this._moveEndCallback && this._moveEndCallback.apply(this._moveEndTarget);
// 清除轨迹
if (this.showTrajectory && this._graphics) {