Quantcast
Channel: Latest Questions by GraviterX
Viewing all articles
Browse latest Browse all 122

Animation Script

$
0
0
Hey all. I'm trying to make a script where when I click a certain tagged gameobject, the camera zooms into it with an animation. However, it isn't working. Any advice? function OnMouseDown () { if(gameObject.tag == "mercury"){ { animation.play("zoomtomercury"); } } }

Viewing all articles
Browse latest Browse all 122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>