Answers for "how to get tag from hit using raycast"

C#
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