wav file to your projects Assets/ -folder.ģ.) Add a new GameObject to scene and add Audio Source component to it.Ĥ.) Drag & Drop your. Use Unity Asset Bundle Extractor to find an AudioClip to replace from mysummercar_Data/sharedassets2.assets. While (!NewSound.isDone) // Wait sound to be loaded.Īudio.clip = NewSound.GetAudioClip(true) // Change clip to AudioSource
WWW NewSound = new WWW('file:///' + 'g5.wav')) Foreach(AudioSource audio in GameObject.FindObjectsOfType())