- Home /
Question by
clarke_nguyen · Jun 24, 2014 at 11:39 AM ·
wp8autoguilayout.button
GuiLayout.Button() get auto fired in WP8
in my OnGUI() function, I have a code like this:
if(GUILayout.Button (SliderPuzzleMenuImage, MenuStyle,GUILayout.Height(ButtonHeight)))
Application.LoadLevel("SliderPuzzle");
This scene run perfectly in Unity Editor and Android. But when I build the project in to WP8 and run on an emulator. The
Application.LoadLevel("SliderPuzzle")
just run as soon as the scene started (without clicking on the button). How do I resolve this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613152408im_/https://answers.unity.com/themes/thub/images/avi.jpg)