Veilheim/Map/MapHooks.cs
/// <summary>
///     CLIENT SIDE: Disable mouselook when portal selection gui is visible
/// </summary>
CLIENT SIDE: Disable mouselook when portal selection gui is visible
CLIENT SIDE : Disable mouselook when portal selection gui is visible
private static bool PortalGUI_Mouselook_Patch(On.Menu.orig_IsVisible orig)
        {
            bool result = orig();
            result |= PortalSelectionGUI.IsVisible() && TextInput.instance.m_panel.activeSelf;
            return result;
        }
private static bool PortalGUI_Mouselook_Patch ( On . Menu . orig_IsVisible orig ) { bool result = orig ( ) ; result |= PortalSelectionGUI . IsVisible ( ) && TextInput . instance . m_panel . activeSelf ; return result ; }
CLIENT SIDE: Disable mouselook when portal selection gui is visible
CLIENT SIDE : Disable mouselook when portal selection gui is visible
orig
On.Menu.orig_IsVisible