Commit 835e3805 authored by hex's avatar hex

- Fixed a typo in mygo server

- Optimized TCPHelper
- Fixed card description layout on iOS notch screens
parent 1b3f593e
Pipeline #37858 failed
......@@ -93,11 +93,11 @@ Camera:
m_TargetEye: 3
m_HDR: 0
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!54 &5496038
Rigidbody:
m_ObjectHideFlags: 1
......
......@@ -93,11 +93,11 @@ Camera:
m_TargetEye: 3
m_HDR: 0
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!54 &5484482
Rigidbody:
m_ObjectHideFlags: 1
......
......@@ -117,9 +117,18 @@ public class CardDescription : Servant
if (gameObject != null)
{
underSprite.height = Screen.height + 4;
int offset = 0;
// 暴力适配 ios 刘海屏
if (Screen.safeArea.x > 0)
{
offset = 66;
}
iTween.MoveTo(
gameObject,
Program.camera_main_2d.ScreenToWorldPoint(new Vector3(-2, Screen.height / 2, 0)),
Program.camera_main_2d.ScreenToWorldPoint(
new Vector3(offset, Screen.height / 2, 0)
),
1.2f
);
resizer.gameObject.GetComponent<BoxCollider>().enabled = true;
......
This diff is collapsed.
......@@ -93,7 +93,7 @@ public class SelectServer : WindowServantSP
}
case "[OCG]MYGO":
{
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "mygo.suprepre.pro";
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "mygo.superpre.pro";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "888";
Config.Set("serversPicker", "[OCG]MYGO");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment