Veilheim/Map/MapHooks.cs
/// <summary>
///     CLIENT SIDE: Destroy the <see cref="PortalSelectionGUI" /> when active
/// </summary>
CLIENT SIDE: Destroy the  when active
CLIENT SIDE : Destroy the when active
private static void ResetPortalSelector(On.TextInput.orig_Hide orig, TextInput self)
        {
            orig(self);
            if (ZNet.instance.IsServerInstance())
            {
                return;
            }
            PortalSelectionGUI.Hide();
            self.m_panel.transform.localPosition = new Vector3(0, 0f, 0);
            GameCamera.instance.m_mouseCapture = true;
            GameCamera.instance.UpdateMouseCapture();
        }
private static void ResetPortalSelector ( On . TextInput . orig_Hide orig , TextInput self ) { orig ( self ) ; if ( ZNet . instance . IsServerInstance ( ) ) { return ; } PortalSelectionGUI . Hide ( ) ; self . m_panel . transform . localPosition = new Vector3 ( 0 , 0f , 0 ) ; GameCamera . instance . m_mouseCapture = true ; GameCamera . instance . UpdateMouseCapture ( ) ; }
CLIENT SIDE: Destroy the  when active
CLIENT SIDE : Destroy the when active
// reset position of textinput panel // restore mouse capture
orig
On.TextInput.orig_Hide
self
TextInput