I'm trying to create a simple button that reacts to the touchscreen of my device. I'm aiming for a simple animation that is started with the button. I'm not by any means a scripting guru, but is this easily feasible?
I found something in the unity documentation about Input. Is this the way to go?
Have you attached this script to the object that contains the animation component?
Take a look at the log file as you touch the button (use the DDMS tool that comes with Android). Is there a null pointer exception? Try adding a print statement, see if anything shows up in the log.
- Kim