// Use this for initialization void Start() { #if !UNITY_EDITOR BrightnessControlHelper.setBrightness(1.0f); #endif }
void OnApplicationPause() { #if !UNITY_EDITOR BrightnessControlHelper.setBrightness(0.5f); #endif }