mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-03-05 15:05:27 +00:00
refactor: 重构属性编辑面板,支持Tab分离和节点类型切换
- 将属性面板分为游戏属性和图像属性两个Tab - 游戏属性Tab包含节点基本信息、类型切换和特定属性 - 图像属性Tab包含所有样式设置(填充、描边、阴影等) - 资产选择器节点支持在式神和御魂之间切换 - 切换节点类型时自动清空已选资产 - 优化AssetSelectorPanel,移除重复的资产库选择器
This commit is contained in:
@@ -58,6 +58,16 @@ const componentGroups = [
|
||||
id: 'yys',
|
||||
title: '阴阳师',
|
||||
components: [
|
||||
{
|
||||
id: 'asset-selector',
|
||||
name: '资产选择器',
|
||||
type: 'assetSelector',
|
||||
description: '通用资产选择器(式神/御魂等)',
|
||||
data: {
|
||||
assetLibrary: 'shikigami',
|
||||
selectedAsset: null
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'shikigami-select',
|
||||
name: '式神选择器',
|
||||
|
||||
Reference in New Issue
Block a user