Quantcast
Channel: Questions in topic: "tree"
Viewing all articles
Browse latest Browse all 513

Detect nearest gameobject

$
0
0
How can I detect the nearest gameobject with a given tag, without having to scan all the gameobject with that tag. For example if I want to find the nearest tree and I have 2500 trees, how could I prevent scanning all the trees.

Viewing all articles
Browse latest Browse all 513

Trending Articles



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