解决一些小问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user