ios
This commit is contained in:
@@ -31,7 +31,8 @@ public class MyAudioPlayerByUrl : MonoBehaviour
|
||||
#if UNITY_EDITOR
|
||||
//You should have a fallback to normal AudioSource playing in your game so you can also hear sounds while developing.
|
||||
Debug.Log("Please try this in a real device!");
|
||||
#else
|
||||
return;
|
||||
#elif UNITY_ANDROID
|
||||
if (bufferSize <= 0)
|
||||
{
|
||||
DeviceAudioInformation deviceAudioInformation = NativeAudio.GetDeviceAudioInformation();
|
||||
|
||||
Reference in New Issue
Block a user