Log in or register to post comments

[Q] Can I preview a GUI layout before building to iPhone?

October 1, 2015 - 12:25am #1

I'm working my way through the ImageTarget sample code. I notice that there is quite an extensive GUI to splash screen, about screen and settings.

I have two questions:

- when I start making changes to this GUI, can I preview the GUI in the Unity editor or do I always need to build to the iPhone first?

- is the GUI always built fully in code, or is there also a visual editor?

- where can I find an explanation of how to do this?

 

Any help greatly appreciated.

 

Tom

[Q] Can I preview a GUI layout before building to iPhone?

October 6, 2015 - 3:43pm #4

Using the ImageTargets 5.0.5 sample in Unity 5.2.1f1, double-clicking the Game view while tracking the target will bring up the menu options. It should work fine when PlayMode is active. You might want to verify that you don't have any other plugins trying to intercept the clicks.

[Q] Can I preview a GUI layout before building to iPhone?

October 2, 2015 - 4:36am #3

Thank you for your clarification about old vs. new Unity GUI.

Strange, nothing happens when I double click the Game view in the Unity editor. Why would that be? Do the mouse clicks get intercepted for an editor process?

I'm on OSX.

 

AttachmentSize
Image icon Screen Shot 2015-10-02 at 13.34.42.png718.62 KB

[Q] Can I preview a GUI layout before building to iPhone?

October 1, 2015 - 8:07pm #2

You can preview the current sample app GUI in PlayMode by double-clicking the Game view. Currently the samples are using Unity's legacy GUI system, but there's a new GUI Canvas system introduced with Unity 4.6 that you can design in the Editor.

 

Log in or register to post comments