Skip to content

Commit 2be0c85

Browse files
author
wanderer
committed
完善调试器的显示
1 parent 6255a31 commit 2be0c85

File tree

3 files changed

+485
-24
lines changed

3 files changed

+485
-24
lines changed

GameFramework/Runtime/Debugger/DebuggerManager.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ private void DrawDebuggerFullWindow(int windowId)
208208
_selectIndex = selectIndex;
209209
_currentDebuggerWindow = _allDebuggerWindows[_selectIndex];
210210
_currentDebuggerWindow.OnEnter();
211+
//如果不是调试器, 则默认布局
212+
if (_currentDebuggerWindow.GetType() != typeof(ProfilerWindow))
213+
{
214+
FullRect = _defaultFullRect;
215+
// ResetLayout();
216+
}
211217
}
212218
}
213219

0 commit comments

Comments
 (0)