toggle Vr off and on for all scenes with Google Cardboard?

I’ve recently been using google cardboard to make a fun game… but have been trying to add an option to switch from “vr mode” and non vr mode… This string of code works very well:

public void ToggleVRMode()
{ Cardboard.SDK.VRModeEnabled= !Cardboard.SDK.VRModeEnabled; }

but only works for the current scene, and when changing scenes, it usually defaults back to vr mode on… Is their a way to universally toggle vr mode for the whole game?

Have you tried messing with VRSettings.enabled? In this documentation it says it enables or disables vr globally.