Hello All,
I am new to Unity and I am in the middle of a game project for the US Army. Here is my question.
I have 2 scenes set up. In my second scene, I have a script that handles my GUI controls. There is a small countdown feature in the OnGUI() function; sort of a ready, set, go using textures.
So here is what happens. I start the game from my first scene. The first scene just has a “Play Game” button that loads the second scene. So I sort of start at the button for a few seconds and then click it. My second scene loads, but the OnGUI has already fired and I don’t see my little countdown. It is as if the OnGUI function fired off before the second scene as even launched.
If I run Scene 2 on its own, all is right with the world. There only seems to be a problem when I run the game from Scene 1. My build order is correct. Is this normal or am I missing something?
And advice would be awesome.
Thank you!