ħ.) Rename " " file anything you want (for ex. wav file to AudioSources AudioClip -field.ĥ.) In File -> Build Settings, add your scene to build and click Build to build your project somewhere.Ħ.) Find your buildedprojectname_Data/ and files "sharedassets0" and "" (it name may be sharedassets0.resource too). 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())
0 Comments
Leave a Reply. |