My game is almost done, I’m stuck with two problems that only occur when I deploy it to an iPhone, for android it works like a charm.
-
I have an animation that plays in my main menu (scene 0). But when I run the game on an iPhone, while the unity splash screen is shown, the animation in my main menu is halfway done and the music also starts playing. My animation is set to play on awake and so is my music. Even if I use Application.isShowingSplashScreen, how do I make my animation which runs on its own, check whether the splash screen is showing or not? I don’t have any other animations, if I did I could set up a parameter.
-
In my main menu, I have a button to go to level select screen, when I press the button (as fast as I can), the scene changes to the level select screen and presses the level number that sits exactly where I press the “level select” button AND it ALSO switches to that particular level. All this happens in just ONE click. How do I stop this?