diff --git a/Unify/Patches/Regions.cs b/Unify/Patches/Regions.cs index c7c0ee9..94ae7f4 100644 --- a/Unify/Patches/Regions.cs +++ b/Unify/Patches/Regions.cs @@ -89,7 +89,6 @@ namespace Unify.Patches directConnect = Object.Instantiate(joinGameButton.GameIdText, regionMenu.transform); directConnect.gameObject.SetActive(false); - directConnect.SetText(""); directConnect.IpMode = true; directConnect.characterLimit = 15; directConnect.ClearOnFocus = false; @@ -101,7 +100,7 @@ namespace Unify.Patches directConnect.transform.localPosition = new Vector3(0, 2 - offset, -100); } } - + [HarmonyPatch(typeof(JoinGameButton), nameof(JoinGameButton.OnClick))] public static class DirectConnectEnterButtonPatch { @@ -163,4 +162,12 @@ namespace Unify.Patches PluginSingleton.Instance.ModdedHandshake.Value = true; } } -} \ No newline at end of file +} + +/* + +Change GUID +Change fields to properties +Change layout of region menu + +*/ \ No newline at end of file diff --git a/build/Unify-2021.3.5s.dll b/build/Unify-2021.3.5s.dll index 24f8250..cebebfe 100644 Binary files a/build/Unify-2021.3.5s.dll and b/build/Unify-2021.3.5s.dll differ