整合,清理掉很多冗余的东西

This commit is contained in:
2025-11-02 10:34:18 +08:00
parent b24f0e2afc
commit f35d755b74
41 changed files with 99 additions and 1798 deletions

View File

@@ -62,7 +62,8 @@ export class Skill extends ecs.Entity {
SView.group= caster.box_group
this.add(SView);
startPos.x=startPos.x+SView.atk_x
startPos.y=startPos.y+SView.atk_y
// 初始化移动组件 - 从SkillView获取移动参数
const sMoveCom = this.get(SMoveDataComp);
sMoveCom.startPos.set(startPos);