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

Answer by IvovdMarel

$
0
0
That's the answer: You should check if( hit.transform.gameObject == this.gameObject) (If you just check hit, it will be destroyed whenever your raycast hits anything)

Viewing all articles
Browse latest Browse all 145

Trending Articles



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