Skip to main content
1 of 5
Thien
  • 13
  • 1
  • 4

Unity: Detect Child Trigger inside Parent Script

I want to detect when a Childcollider is being trigger to apply the damage to the thing being hit. But currently I'm confuse how it work. Does the Parent OntriggerEnter detect the trigger event of the Child object ? and how do I know the trigger come from the Child and not the Parententer image description here

Thien
  • 13
  • 1
  • 4