Feature/physics and tilemap enhancement (#247)
* feat(behavior-tree,tilemap): 修复编辑器连线缩放问题并增强插件系统 * feat(node-editor,blueprint): 新增通用节点编辑器和蓝图可视化脚本系统 * feat(editor,tilemap): 优化编辑器UI样式和Tilemap编辑器功能 * fix: 修复CodeQL安全警告和CI类型检查错误 * fix: 修复CodeQL安全警告和CI类型检查错误 * fix: 修复CodeQL安全警告和CI类型检查错误
This commit is contained in:
@@ -234,6 +234,7 @@ export class EngineService {
|
||||
core: Core,
|
||||
engineBridge: this.bridge,
|
||||
renderSystem: this.renderSystem,
|
||||
assetManager: this.assetManager,
|
||||
isEditor: true
|
||||
};
|
||||
|
||||
@@ -396,6 +397,9 @@ export class EngineService {
|
||||
// 启用行为树系统用于预览
|
||||
if (this.behaviorTreeSystem) {
|
||||
this.behaviorTreeSystem.enabled = true;
|
||||
// 启动所有自动启动的行为树(因为在编辑器模式下 onAdded 不会处理)
|
||||
// Start all auto-start behavior trees (since onAdded doesn't handle them in editor mode)
|
||||
this.behaviorTreeSystem.startAllAutoStartTrees();
|
||||
}
|
||||
// Enable physics system for preview
|
||||
// 启用物理系统用于预览
|
||||
|
||||
Reference in New Issue
Block a user