Quantcast
Channel: Latest Questions by zeuo
Viewing all articles
Browse latest Browse all 90

how to get component of the raycast hit

$
0
0
i want to get a script from the object thats being hit with a raycast but var ob :script = hit.gameObject.GetComponent(script); isnt working

Viewing all articles
Browse latest Browse all 90

Trending Articles