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