TAP TO SAY DIFFERENT THINGS???
Hey, I am currently working on a lens for Bender from Futurama! The only problem is I want him to say different things on each tap. For example, the first time they tap it, it will say, "Hi, I'm bender!", but the second time they tap it, it will say, "Bite my shiny metal ass!" or something similiar to that. Thanks! Try to steer away from guides because they usuaully dont help with this kind of stuff.
Hi Colin!
Create a new script called "TapThroughAudio" and add this script to it:
This script should then be added to an object with a Touch component. In the case of the templates, it should be added to the WorldObjectController. The script should be bound to the initialized event (the script binds its own tap event).
Then, create however many Audio Components you'd like in your scene and add them to the tap audio array. The script also has a random button in the inspector that will randomly select the audio form the array instead of sequentially playing them. Have fun!