Yes, I understood that, but
Yes, I understood that, but what I mean is that you could create some code and have a boolean flag (e.g. call it "showText") when the virtual buttons get triggered, and then use GUI.Label() to show some text on the screen when such flag is true;
you could also write the code so that the boolean flag gets back to false after some time, i.e.:
- virtual button triggered ==> set the boolean flag "showText = true"
- have a timer logic (e.g. checking time elapsed since when it was set to true) so that after some time you reset the "showText = false"
- render the text using GUI.Label if the "showText" flag is true
if (showText) GUI.Label( .... );
That is what I meant in my previous message
However, if you want to use GUIText and put the text in 3D space, that is also possible (but please check the Unity doc or the link that I posted before).
erm. i mean I want to
erm. i mean I want to use Virtual Button to display text out?
i do not want it to show all the time, just when i press a virtual button, instead of changing material, i want it shows some text besides the object.. hehe
Hi, have you tried just using
Hi, have you tried just using GUI.Label() function, this is usually one of the simplest way to display text;
for instance, suppose you create a script and you attach it to your ARCamera (or to one of your ImageTargets), your script could include some code like the following:
Hi, you can replace your 3D
Hi, you can replace your 3D model quite easily at runtime in Unity;
this is discussed for instance in this thread:
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?