- Home /
Question by
hofmeijer134848 · Jul 01, 2020 at 10:41 AM ·
colliderunity 2dphysics2doncollisionenter
What oject/method calls "OnCollisionEnter2D"?,What object/method calls "OnCollisionEnter2D"?
Unity has these methods that can be used with colliders. These methods like "OnCollisionEnter" and "OnCollisionExit" are being called sometimes. I guess by the physics module of the UnityEngine, but is there anyway I can see exactly from where, like a file, it was called?
PS. I have already tried using a stacktrace, but this only seems to see the methods called in its own object.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613002209im_/https://answers.unity.com/themes/thub/images/avi.jpg)