I am having no problems triggering an animation with a collision, but can't quite work out how to trigger an animation from a GUI button click. Thanks!
The script creates the button fine, but I get an error message that reads: "There is no 'Animation' attached to the "GUI" game object, but a script is trying to access it." after adding:
So, i am evidently only calling the animation, not the object with the animation attached to it, but not sure how to make that link happen. Thanks!
Hm? It's just:
If that's not what you want, please show us your script and explain what exactly isn't working, otherwise we can only guess what you are doing wrong.
answered Aug 08 '10 at 09:10 PM