Skip to main content

ResourceRequestExtensions

A static class in Root.Township, Alta.Chunks.

Lets you await a Unity ResourceRequest and get the loaded asset.

Methods​

MemberWhat it is
static TaskAwaiter<Object> GetAwaiter(ResourceRequest request)Awaiter that runs the request as a coroutine and returns its asset.
1 private and internal method
MemberWhat it is
private static IEnumerator WaitFor(ResourceRequest request) (iterator)Coroutine that waits for the request to finish.