Quantcast
Channel: Questions in topic: "left"
Viewing all articles
Browse latest Browse all 135

Check where mouse is clicked

$
0
0
Hello! When you use Input.GetMouseButtonDown(0), what's a way where you could tell where it is pressed? Pretty much I want it to be like where if you click the left of the screen, it does a function, and if you press the right, another function. Please help me a little with coding, epically with raycasting since I am pretty new to this stuff. Thanks!

Viewing all articles
Browse latest Browse all 135


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