Log in or register to post comments

sample code for guide screen before tracking (initial interface)

November 17, 2012 - 3:57am #1

i want to show an application's guide text screen like "welcome to the app. please point your camera to the target. touch the screen to continue"
is there anyone has the sample code for it?
should i put it in the ARCamera?

thank you so much

sample code for guide screen before tracking (initial interface)

November 19, 2012 - 12:16pm #3

If you'd like for the application guide to be interactive, I'd recommend implementing it using a script attached to your ARCamera that inherits from MonoBehaviour and implements the OnGUI method. This will enable you to present UI controls orthographically.

See http://docs.unity3d.com/Documentation/Components/GUIScriptingGuide.html

sample code for guide screen before tracking (initial interface)

November 19, 2012 - 8:59am #2

Hi Yozelectric

Probably the simplest way is to create a GUIText object, which by default will appear in the centre of the screen.

You do not need to put it in the ARCamera.

However it is probably worth invetigating some basic Unity scripting so you can control the GUIText object's movement, motion etc. aso you can make it disappear.  The inspector provides some static controls which are fairly basic, but probably best to hunt around and search for GUIText on the Unity forums.

N

Log in or register to post comments