mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
let menu update position when closed
This commit is contained in:
parent
3248dd6335
commit
a8cd7122a8
4 changed files with 15 additions and 21 deletions
|
@ -7,7 +7,7 @@ public class MenuScalePatch : MelonMod
|
|||
{
|
||||
internal static MelonLogger.Instance Logger;
|
||||
internal static MelonPreferences_Category m_categoryMenuScalePatch;
|
||||
internal static MelonPreferences_Entry<bool>
|
||||
internal static MelonPreferences_Entry<bool>
|
||||
//m_entryWorldAnchorVRQM,
|
||||
m_entryUseIndependentHeadTurn,
|
||||
m_entryPlayerAnchorMenus;
|
||||
|
@ -17,7 +17,7 @@ public class MenuScalePatch : MelonMod
|
|||
//m_entryWorldAnchorVRQM = m_categoryMenuScalePatch.CreateEntry<bool>("World Anchor VR QM", false, description: "Should place QM in World Space while VR.");
|
||||
m_entryUseIndependentHeadTurn = m_categoryMenuScalePatch.CreateEntry<bool>("Use Independent Head Turn", true, description: "Should you be able to use independent head turn in a menu while in Desktop?");
|
||||
m_entryPlayerAnchorMenus = m_categoryMenuScalePatch.CreateEntry<bool>("Player Anchor Menus", true, description: "Should the menus be anchored to & constantly follow the player?");
|
||||
|
||||
|
||||
foreach (var setting in m_categoryMenuScalePatch.Entries)
|
||||
{
|
||||
setting.OnEntryValueChangedUntyped.Subscribe(OnUpdateSettings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue