Quantcast
Channel: Questions in topic: "choose"
Viewing all articles
Browse latest Browse all 81

How can i choose object with mouse ?

$
0
0
OnMouseDown() { obj = this.gameObject; } with this code i can choose objects with mouse but if i do this i should write different scripts for different objects. This mean there ll be too many script can i do same thing with a few scripts ?

Viewing all articles
Browse latest Browse all 81

Trending Articles



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