mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 06:49:22 +00:00
[DesktopVRSwitch] Stop being a baby.
???
This commit is contained in:
parent
133f5200b4
commit
6774c3ff6d
22 changed files with 205 additions and 169 deletions
|
@ -16,12 +16,6 @@ public class CVR_InteractableManagerTracker : VRModeTracker
|
|||
|
||||
private void OnPostSwitch(bool intoVR)
|
||||
{
|
||||
CVR_InteractableManager _cvrInteractableManager = CVR_InteractableManager.Instance;
|
||||
if (_cvrInteractableManager == null)
|
||||
{
|
||||
DesktopVRSwitch.Logger.Error("Error while getting CVR_InteractableManager!");
|
||||
return;
|
||||
}
|
||||
DesktopVRSwitch.Logger.Msg($"Setting CVRInputManager inputEnabled & CVR_InteractableManager enableInteractions to {!intoVR}");
|
||||
|
||||
CVR_InteractableManager.enableInteractions = !intoVR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue