- Sort Posts
- 2 replies
- Last post
sample code for guide screen before tracking (initial interface)
November 19, 2012 - 12:16pm #3
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
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