Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | List of all members
CollisionEventsHandler Class Reference

This component will try to find a script that implements the ICollisionEvents interface in the parent gameobject, and send collision event calls to it. Use this when you have colliders in child objects, but want to receive collision events on the parent. More...

Inheritance diagram for CollisionEventsHandler:

Public Member Functions

void SetHandle (ICollisionEvents h)
 

Static Public Member Functions

static ICollisionEvents FindHandleUpwards (GameObject go)
 

Detailed Description

This component will try to find a script that implements the ICollisionEvents interface in the parent gameobject, and send collision event calls to it. Use this when you have colliders in child objects, but want to receive collision events on the parent.

Member Function Documentation

static ICollisionEvents CollisionEventsHandler.FindHandleUpwards ( GameObject  go)
inlinestatic
void CollisionEventsHandler.SetHandle ( ICollisionEvents  h)
inline

The documentation for this class was generated from the following file: