I currently have a spike at the start of my game, even after optimizing. I wonder whether there is a method using a certain function to make a loading screen untill the start() functions of all the scripts are passed?
I already know there is a Application.LoadLevelAsync function, but this does not completely fulfill my needs.
Take a look at this post, my answer is on the second page and sounds like it might be what you are after.
This is a solution, but there it is an awful lot of work to implement this in all the scripts. Is there no other approach to achieve this, a automated version of this approach? I just found that the execution order might have the solution for my problem. http://docs.unity3d.com/Manual/ExecutionOrder.html [EDIT]: The answer lies within a couritine that triggers the load function after the start function
This is a solution, but there it is an awful lot of work to implement this in all the scripts. Is there no other approach to achieve this, a automated version of this approach? I just found that the execution order might have the solution for my problem. http://docs.unity3d.com/Manual/ExecutionOrder.html [EDIT]: The answer lies within a couritine that triggers the load function after the start function
– Jasper1900