Quantcast
Channel: Answers by "maxkunes"
Viewing all articles
Browse latest Browse all 18

Answer by maxkunes

$
0
0
function OnCollisionEnter2D(coll: Collision2D) { if (coll.gameObject.tag == "Tag") { } } That is my function to do triggers/collision and it works perfectly ***Note!! Collision 2d will only collide with a object with a 2d collider***

Viewing all articles
Browse latest Browse all 18

Trending Articles



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