I have been trying to find a way to dim the screen on iOS for a while and can't find anything at all.
I can see how to stop the screen going to sleep, handy, but I can't seem to override the screen's brightness.
It appears possible in xcode, just no functions for it in Unity.
This would be really handy for overriding the current setting to save energy for example, or to create some cool effects of pulsating the screen when some explosions happen etc.
Other uses might be when you are creating an app to use at night, you want to control the screen brightness from in the app so the user can use a slider or something.
Also apps that use a barcode to be scanned from your screen or QR code etc could benefit from this, eg dim the app lower when you are using the menu and finding the things in the app you need, then when you show your phone to be scanned by presenting the barcode on your screen, you can 'brighten' the screen so the scanner can pick it up better.
I really want this for basically setting it to minimum or very low but keep the app running so it can keep my players moving around the screen etc.
This will help save battery.
Right now I can only use SleepTimeout.NeverSleep or set a timeout value.
I would love to see a new option in Unity such as:
Screen.brightness = 0.4f
(float between 0 and 1)
Anybody else think this would be good have too, or in fact if you know of a function that does exits for this already I am missing?