I want to put in some scripting into my Project that will tell me if the device is charging or not.
I've found some documentation on it but can't for the life of me work out how to integrate it.
Can anyone show my how to format the script?
https://docs.unity3d.com/560/Documentation/ScriptReference/SystemInfo-batteryStatus.html
https://docs.unity3d.com/ScriptReference/SystemInfo.html
↧