Log in or register to post comments

Virtual button not function

May 9, 2013 - 4:09am #1

Good day, i am curenly try to work out with the virtual button sample in unity extension. Basically :-

- i apply the VirtualButtonEventHandler to the Image target

-create a virtual button and assign the name with  "red"

 

once i run in playmode, the console display that the virtual button is create successfully and when i handover my finger, it show that OnButton function is workable. BUT........the material of teapot is reamin unchange :(   can someone help me to see where is the problem occur?  Thaks very much 

Virtual button not function

May 9, 2013 - 6:49am #4

Please compare what you have done against the VB sample.

Something is different, and if you can find out what this is, you will have your solution.

N

Virtual button not function

May 9, 2013 - 6:21am #3

i didn,t change any code in VirtualButtonEventHandler, i just simply add the default script to the Image Target. Btw i just try the sample using one button onl that is "red" and i didnt create button for "blue" "green" "yellow". Does this affect? 

Virtual button not function

May 9, 2013 - 6:14am #2

How is your code different to the Virtual button sample which works?

Have you compared your code to this sample?  If you can find the difference it will answer your question.

 

N

Log in or register to post comments