Main/Utility/SafeAreaUI.cs
@@ -6,6 +6,7 @@ { public const int SafeWidth = 75; public const int SafeBottom = 15; //竖屏下方间隔 public enum SimDevice { None, IphoneX } public static SimDevice Sim @@ -62,7 +63,7 @@ if (Screen.height / Screen.width > 1.8)//宽屏需要适配 { //上下各间隔SafeWidth Panel.offsetMin = new Vector2(0, SafeWidth); Panel.offsetMin = new Vector2(0, SafeBottom); Panel.offsetMax = new Vector2(0, -SafeWidth); } else