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?
↧