A set of tools for Unity to allow handling system volume for Android and iOS.
SystemVolumePlugin-for-Unity.unitypackage
using SystemVolume;
public void Example()
{
var controller = new SystemVolumeController();
controller.Volume = 0.5f;
Debug.Log(controller.Volume);
}
public void Example()
{
var controller = new SystemVolumeController();
controller.OnChangeVolume = volume => {
Debug.Log(volume);
};
}