void OnEnable() { if (Configuration == null) { Debug.LogWarning("Level's Dual Cameras does not have a color configuration set."); return; } LightCamera.EffectMaterial = Configuration.LightMaterial; DarkCamera.EffectMaterial = Configuration.DarkMaterial; LightCamera.SetMaterialInstance(); DarkCamera.SetMaterialInstance(); _lightCameraController = LightCamera.GetComponent <BallCameraController>(); _darkCameraController = DarkCamera.GetComponent <BallCameraController>(); }