david.wtf · @flashmasterdash
47 followers · 99 posts · Server mastodon.gamedev.place

Here's a convenient helper I wrote that can be used to simplify asynchronous initialization of heavy objects without caring about concurrency or call order: gist.github.com/moonshinebot/f

The pattern scales to multiple lazy properties, and even multiple independent initializers can be used per class (if desired).

#unitask #asyncawait #gamedev #unity3d #unitydev

Last updated 2 years ago