I am stuck on something with the virtual joystick that I can not figure out and can not find anything like a good tutorial on youtube or google either.
Essentially put, I have set up a part of my game where a virtual joystick appears to let the player accomplish a task and then disappears. The part that I am stuck on is making it disappear. What I need it to do is watch for input on the virtual joystick from the player and disappear if the player goes 3 seconds without touching the joystick. I am having trouble figuring out how to have my game “watch” for input from the virtual joystick.
I know how to get rid of the joystick easy, it is just the whole watching for input on the virtual joystick that I can not figure out how to do. Any ideas?