By axitests
on Wed, 09/23/2020 - 17:10
Hi,
i need to stack buttons in an arrangement but i need to filter the buttons to determine onButttonPreseed event, like this.
i have 3 virtual button in vuforia unity
i need to enable just button 1 and disable button 2 and 3.
when button 1 pressed, play the walk animation then destroy the button 1, and enable the button 2.
when button 2 pressed, play the jump animation then destroy the button 2, and enable the button 3.
when button 3 pressed, play the run animation then destroy the button 3, and enable the button 1.
i want your helps to know how i can do it in c# script.
Thank you.
Hi,
Hi,
if I understood right you want to place 3 virtual buttons on one image target. You can add a couple of thing to the VirtualButtonEventHandler like this:
Perfect !!
Perfect !!
I got the idea and its work fine.
Thank You Sebben :)