public static void PostProcessFreeModeScene(ref bool enabled)
        {
            PostProcessSceneEventArgs args = new PostProcessSceneEventArgs {
                ForceEnabled = enabled
            };

            ProcessFreeModeScene?.Invoke(null, args);
            enabled = args.ForceEnabled;
        }
 private void ProcessFreeModeScene(object sender, PostProcessSceneEventArgs e)
 {
     if (forceAllScenesEnabled)
     {
         Debugger.WriteLine("Forcing free mode scene visible");
         e.ForceEnabled = true;
     }
     else
         Debugger.WriteLine("Processing free mode scene");
 }
 public static void PostProcessFreeModeScene(ref bool enabled)
 {
     PostProcessSceneEventArgs args = new PostProcessSceneEventArgs {ForceEnabled = enabled};
     ProcessFreeModeScene?.Invoke(null, args);
     enabled = args.ForceEnabled;
 }