2025-11-27 20:42:46 +08:00
|
|
|
/**
|
2025-11-29 23:00:48 +08:00
|
|
|
* Behavior Tree Plugin Descriptor
|
|
|
|
|
* 行为树插件描述符
|
2025-11-27 20:42:46 +08:00
|
|
|
*/
|
|
|
|
|
|
2025-11-29 23:00:48 +08:00
|
|
|
import type { PluginDescriptor } from '@esengine/editor-runtime';
|
2025-11-27 20:42:46 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 插件描述符
|
|
|
|
|
*/
|
|
|
|
|
export const descriptor: PluginDescriptor = {
|
|
|
|
|
id: '@esengine/behavior-tree',
|
|
|
|
|
name: 'Behavior Tree System',
|
|
|
|
|
version: '1.0.0',
|
|
|
|
|
description: 'AI 行为树系统,支持可视化编辑和运行时执行',
|
|
|
|
|
category: 'ai',
|
|
|
|
|
enabledByDefault: true,
|
|
|
|
|
canContainContent: false,
|
|
|
|
|
isEnginePlugin: false,
|
|
|
|
|
modules: [
|
|
|
|
|
{
|
|
|
|
|
name: 'BehaviorTreeRuntime',
|
|
|
|
|
type: 'runtime',
|
2025-12-01 22:28:51 +08:00
|
|
|
loadingPhase: 'default'
|
2025-11-27 20:42:46 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'BehaviorTreeEditor',
|
|
|
|
|
type: 'editor',
|
2025-12-01 22:28:51 +08:00
|
|
|
loadingPhase: 'default'
|
2025-11-27 20:42:46 +08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
dependencies: [
|
2025-12-01 22:28:51 +08:00
|
|
|
{ id: '@esengine/engine-core', version: '>=1.0.0', optional: true }
|
2025-11-27 20:42:46 +08:00
|
|
|
],
|
|
|
|
|
icon: 'GitBranch'
|
|
|
|
|
};
|