I would like to access Collision Events of one object from another for cleaner architecture. I was hoping that someone could help me understand this code Check OnCollisionEnter on other GameObject - Questions & Answers - Unity Discussions. An example that uses this would be awesome.
I’m dubious of this…
Anyways, the answer given in the link you provided is one of the better ones I’ve seen. What exactly are you struggling with?
The given class CollisionEvents should be it’s own CS script and should be added to any gameobject whose collisions you want shared. The code further down the answer is how you can subscribe to a particular gameobject’s event or to all gameobject’s which share their collision events.