【屏幕适配】修正GM显示区域偏移
parent
6ff7f079ef
commit
3595ae0ab5
|
|
@ -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, "");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue