- Home /
Game freeze while I click Gui texture loadlevel to change scene
The game work fine.When I direct build on my testing android device, but when I publish on Google play and download it.I click the play button to switch the scene form menu to game it will freeze. The sound also doesn't work. Can't figure out why.It work fine when I publish the single game scene,But without sound either. Wonder why this situation will happen.
void OnFirstTouchBegin(){
switch (buttonnum) {
case 1:
Transformscene=true;
SoundSorce.SendMessage("Playbutton");
Application.LoadLevel("Startscene");
break;
case 2:
SoundSorce.SendMessage("Playbutton");
menumove=!menumove;
break;
}
}
Comment
Your answer
Follow this Question
Related Questions
How to load a level after 30 seconds? 3 Answers
Application.Loadlevel("Level Name"); not working on android 2 Answers
OpenIAB - billing plugin. It works only once! need HELP! 1 Answer
Android: Scene change (Application.LoadLevel) has no effect 3 Answers
Application.LoadLevel Strange Problem 2 Answers