Quantcast
Viewing latest article 6
Browse Latest Browse All 184

How to freeze frame until it finishes loading?

I have this level generator MonoBehaviour that has a lot of loops and stuff going on inside... I still hadn't finished it, however, i think that this process may be too big to load in just one frame, (it's supposed that every time I hit a button it generates again everything) so I was thinking, is there a way in which I can freeze or pause the game in order to finish the level generating process (and not crash) and maybe get like an opaque screen while loading?

Viewing latest article 6
Browse Latest Browse All 184

Trending Articles