* feat(behavior-tree,tilemap): 修复编辑器连线缩放问题并增强插件系统 * feat(node-editor,blueprint): 新增通用节点编辑器和蓝图可视化脚本系统 * feat(editor,tilemap): 优化编辑器UI样式和Tilemap编辑器功能 * fix: 修复CodeQL安全警告和CI类型检查错误 * fix: 修复CodeQL安全警告和CI类型检查错误 * fix: 修复CodeQL安全警告和CI类型检查错误
23 lines
530 B
TypeScript
23 lines
530 B
TypeScript
/**
|
|
* Asset Browser - 资产浏览器
|
|
* 包装 ContentBrowser 组件,保持向后兼容
|
|
*/
|
|
|
|
import { ContentBrowser } from './ContentBrowser';
|
|
|
|
interface AssetBrowserProps {
|
|
projectPath: string | null;
|
|
locale: string;
|
|
onOpenScene?: (scenePath: string) => void;
|
|
}
|
|
|
|
export function AssetBrowser({ projectPath, locale, onOpenScene }: AssetBrowserProps) {
|
|
return (
|
|
<ContentBrowser
|
|
projectPath={projectPath}
|
|
locale={locale}
|
|
onOpenScene={onOpenScene}
|
|
/>
|
|
);
|
|
}
|