资产系统侧线第一波:ResolveProcedural 提为公共静态(键格式唯一定义点);Inspector 程序化模型入口;修 Prefab hover 误导性 not loaded;Content Browser 模型拖拽 → Outliner 创建实体
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
// 常量住源面板头
|
||||
inline constexpr const char* kPrefabDragPayload = "PREFAB_PATH";
|
||||
|
||||
// 模型资产拖拽 payload(Content Browser 拖 .glb/.fbx/... → Outliner
|
||||
// 落点创建带 MeshRenderer 的实体;字符串 = 资产相对路径)
|
||||
inline constexpr const char* kModelDragPayload = "MODEL_PATH";
|
||||
|
||||
class AssetBrowserPanel {
|
||||
public:
|
||||
void Draw(const EditorContext& ctx);
|
||||
|
||||
Reference in New Issue
Block a user