【屏幕适配】修正GM显示区域偏移

main
chenyuqi 2023-11-29 13:26:19 +08:00
parent 6ff7f079ef
commit 3595ae0ab5
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ public class DebugScreen: Singlenton<DebugScreen>
public void DrawSafeAreaRect()
{
var rect = Screen.safeArea;
rect.height = -rect.height;
rect.y = Screen.height - rect.y;
GUI.Box(rect, "");
}