Answers for "how to see if you click the mouse in unity"

C#
4

how to see if they are aholding down a key unity

input.GetKey("Key")
Posted by: Guest on March-09-2020
0

how to see a tag of what you hit with raycast

if (Physics.Raycast (transform.position, fwd, hit, Reach) && hit.transform.tag == "TagName") {
Posted by: Guest on March-22-2020

C# Answers by Framework

Browse Popular Code Answers by Language