Quantcast
Channel: Answers by "IvovdMarel"
Viewing all articles
Browse latest Browse all 145

Answer by IvovdMarel

$
0
0
Besides the methods of a list starting with uppercase (Add, Remove) I see nothing wrong with this code. It should work. However, this might be a better approach: To get the surrounding objects of any object in your scene, you can use Physics.OverlapSphere or Physics.OverlapBox, which both return an array of colliders.

Viewing all articles
Browse latest Browse all 145

Trending Articles



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