mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
bump
This commit is contained in:
parent
3ebd743227
commit
b4dfbcc2ef
4 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ public class MainMenuHelper : MonoBehaviour
|
||||||
void LateUpdate()
|
void LateUpdate()
|
||||||
{
|
{
|
||||||
if (!MenuIsOpen) return;
|
if (!MenuIsOpen) return;
|
||||||
|
|
||||||
if (MSP_MenuInfo.PlayerAnchorMenus || NeedsPositionUpdate)
|
if (MSP_MenuInfo.PlayerAnchorMenus || NeedsPositionUpdate)
|
||||||
{
|
{
|
||||||
UpdateMenuPosition();
|
UpdateMenuPosition();
|
||||||
|
@ -39,7 +39,7 @@ public class MainMenuHelper : MonoBehaviour
|
||||||
|
|
||||||
if (MSP_MenuInfo.UseIndependentHeadTurn)
|
if (MSP_MenuInfo.UseIndependentHeadTurn)
|
||||||
{
|
{
|
||||||
MSP_MenuInfo.HandleIndependentLookInput();
|
MSP_MenuInfo.HandleIndependentHeadTurnInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class QuickMenuHelper : MonoBehaviour
|
||||||
|
|
||||||
if (MSP_MenuInfo.UseIndependentHeadTurn)
|
if (MSP_MenuInfo.UseIndependentHeadTurn)
|
||||||
{
|
{
|
||||||
MSP_MenuInfo.HandleIndependentLookInput();
|
MSP_MenuInfo.HandleIndependentHeadTurnInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ public class MSP_MenuInfo
|
||||||
CVR_MenuManager.Instance.desktopControllerRay.enabled = !flag;
|
CVR_MenuManager.Instance.desktopControllerRay.enabled = !flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static void HandleIndependentLookInput()
|
internal static void HandleIndependentHeadTurnInput()
|
||||||
{
|
{
|
||||||
//angle of independent look axis
|
//angle of independent look axis
|
||||||
bool isPressed = CVRInputManager.Instance.independentHeadTurn || CVRInputManager.Instance.independentHeadToggle;
|
bool isPressed = CVRInputManager.Instance.independentHeadTurn || CVRInputManager.Instance.independentHeadToggle;
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"None"
|
"None"
|
||||||
],
|
],
|
||||||
"downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/v4.2.4/MenuScalePatch.dll",
|
"downloadlink": "https://github.com/NotAKidOnSteam/MenuScalePatch/releases/download/v4.2.5/MenuScalePatch.dll",
|
||||||
"sourcelink": "https://github.com/NotAKidOnSteam/MenuScalePatch/",
|
"sourcelink": "https://github.com/NotAKidOnSteam/MenuScalePatch/",
|
||||||
"changelog": "- Tweaked independent head turn implementation. Menu will now recenter after head has returned to target angle.",
|
"changelog": "- Fixed hitching & potential crash when opening menu after a long time of it being closed. Don't disable CohtmlView, only enable it.\n- Let game update menu position while its closed.\n- Tweaked independent head turn handling to ensure menu is correctly positioned on recenter if PlayerAnchorMenus is disabled.",
|
||||||
"embedcolor": "804221"
|
"embedcolor": "804221"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue