atteneder / KtxUnity

Load KTX and Basis Universal textures at runtime
Apache License 2.0
215 stars 42 forks source link

how to sync load texture in update? #77

Open iamnewaplayer opened 1 year ago

iamnewaplayer commented 1 year ago

how to sync load texture in update?

atteneder commented 7 months ago

If you're asking how to load a KTX file non-ansyc, why would you want to do that in first place?

I only see disadvantages in doing that. IIRC, the Microsoft Framework Design Guidelines discourage wrapping async code in sync methods as well.

Let me know what you think.