添加折叠面板
This commit is contained in:
@@ -159,6 +159,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 6. 功能面板 -->
|
||||
<div class="control-group">
|
||||
<h2>📑 功能面板 (Panels)</h2>
|
||||
<div class="btn-container">
|
||||
<button onclick="openPropertyPanel()">属性面板</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 5. 3D 引擎 -->
|
||||
<div class="control-group">
|
||||
<h2>🎮 3D 引擎 (Engine3D)</h2>
|
||||
@@ -386,6 +394,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 打开属性面板
|
||||
*/
|
||||
function openPropertyPanel() {
|
||||
if (!engine || !engine.propertyPanel) {
|
||||
console.error('Property panel not available');
|
||||
return;
|
||||
}
|
||||
engine.propertyPanel.show();
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新引擎状态显示
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user