- Sort Posts
- 10 replies
- Last post
Virtual Buttons with Images/Text
try double clicking on the unitypackage.
It will be a good idea to review some of the basic Unity tutorials, or you'll drive yourself crazy trying to accomplish anything - http://unity3d.com/learn/tutorials/modules
Virtual Buttons with Images/Text
Is the text static or will it be written dynamically?
For images, define them as the texture of a material and add that material to a plane mesh in the Scene View. You can then render the plane in response to button events. Use the code for rendering in the DefaultTrackableEventHandler within the OnButtonPressed/ Released methods. Also I'd recommend using the VBSoccarBallEventHandler as an example, it's a simpler script.
Virtual Buttons with Images/Text
Certainly. Check out the Virtual Buttons sample to see how a Virtual Button Event Handler is implemented on the ImageTarget, by implementing the IVirtualButtonEventHandler interface. You can catch the button press and release to trigger the presentation of text a/o images.
Di you manage to sort this. Would be good to have a solution