- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
IKilledKenny_2 · Nov 06, 2014 at 11:42 PM ·
guibutton
3D Button?
Hello Unity3D.I have a question about 3D buttons?Is there a way to make a model a 3d button whenever a character presses it?For example,i made a 3d text named play in blender3D and i was wondering if i could make that into a button to click so that the game could be able to play.IF anyone knows how i can do this.Can you please tell me how?
Comment
Answer by robertbu · Nov 06, 2014 at 11:45 PM
Put a box collider on the text. Put a script on it with an OnMouseDown() callback.
http://docs.unity3d.com/ScriptReference/MonoBehaviour.OnMouseDown.html
Cool But suppose if i want to use the arrow keys as well?