Rhythm Quest Devlog 28 — WebGL Port, Checkpoint Graphics

Checkpoint Animations

Flag Raising

Checkpoint Particles

WebGL Port and Demo Build Considerations

Addressables and Resource Management

Synchronous Addressable Loads

IEnumerator SomeCoroutine() {
// Kick off the Addressables load operation
var asyncHandler = Addressables.LoadAssetAsync(pathToAudioClip);

// Wait for completion...
yield return asyncHandler;

// Do something with the result
_myAudioSource.clip = asyncHandler.Result;
void Start() {
var asyncHandler = Addressables.LoadAssetAsync(pathToAudioClip);
// Synchronous blocking call
_myAudioSource.clip = asyncHandler.WaitForCompletion().Result;

// (Rest of initialization)

Debugging WebGL Audio



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store