I've looked around on the internet and couldn't find a solid answer. When using LoadLevelAsync, do any of the above functions get called in the loading thread or are they all called on the main thread? I want to procedurally generate a level in a background thread so the game doesn't freeze every time a new level is generated. Is this possible? If not, how should I go about doing so (generating many objects without freezing the game, whilst showing the player a loading screen)?
↧