diff --git a/DungeonShooting_Godot/src/framework/ui/grid/IUiCell.cs b/DungeonShooting_Godot/src/framework/ui/grid/IUiCell.cs
index 379abd9..c3c66ea 100644
--- a/DungeonShooting_Godot/src/framework/ui/grid/IUiCell.cs
+++ b/DungeonShooting_Godot/src/framework/ui/grid/IUiCell.cs
@@ -20,7 +20,7 @@
void OnInit();
///
- /// 如果启用了当前 Cell, 则调用
+ /// 如果启用了当前 Cell, 则每帧调用
///
void Process(float delta);
diff --git a/DungeonShooting_Godot/src/framework/ui/grid/IUiCellNode.cs b/DungeonShooting_Godot/src/framework/ui/grid/IUiCellNode.cs
index 20e16e7..6f00dfd 100644
--- a/DungeonShooting_Godot/src/framework/ui/grid/IUiCellNode.cs
+++ b/DungeonShooting_Godot/src/framework/ui/grid/IUiCellNode.cs
@@ -15,4 +15,9 @@
/// 克隆并返回新的节点实例
///
IUiCellNode CloneUiCell();
+
+ ///
+ /// 获取所属 Ui 面板
+ ///
+ UiBase GetUiPanel();
}
\ No newline at end of file
diff --git a/DungeonShooting_Godot/src/framework/ui/grid/UiGrid.cs b/DungeonShooting_Godot/src/framework/ui/grid/UiGrid.cs
index b65349c..0f1cdd3 100644
--- a/DungeonShooting_Godot/src/framework/ui/grid/UiGrid.cs
+++ b/DungeonShooting_Godot/src/framework/ui/grid/UiGrid.cs
@@ -355,7 +355,7 @@
private void OnProcess(float delta)
{
- if (IsDestroyed)
+ if (IsDestroyed || !_template.GetUiPanel().IsOpen)
{
return;
}