- Home /
Question by
Tipdude501 · Jun 04, 2014 at 10:38 PM ·
animation clipvar
Animation variables in javascript
So I have this script for opening a door which works great but I want to be able to reuse this script on anything that can be opened in my scene. I already have a changeable game object variable but I also want to make variables for the animation clips. This is my script right now:
script.png
(24.8 kB)
Comment
No one has answered this yet?? I'm guess you figured it out by now. please tell me how you got it to work with maybe a copy of your new working script?