private static void ApplyEffects() { SuspendEffects(suspend: false); instance.ApplyBlur(); instance.ApplyVignette(); for (int i = 0; i < instance.activeCameras.Count; i++) { GameCamera gameCamera = instance.activeCameras[i]; gameCamera.camera.allowHDR = instance.allowHDR; gameCamera.camera.allowMSAA = (instance.antialiasing == AntialiasType.MSAA); gameCamera.layer.antialiasingMode = (PostProcessLayer.Antialiasing)((instance.antialiasing != AntialiasType.MSAA) ? instance.antialiasing : AntialiasType.None); } }