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

This component will store a list of Animation components in the attached GameObject and all it's children. If a Collision occurs on any collider on the object it will stop any of the animations from playing. More...

Inheritance diagram for CollisionAnimationHandler:
ICollisionEvents

Public Member Functions

MonoBehaviour GetInstance ()
 
void OnCollisionEnter (Collision c)
 
void OnCollisionExit (Collision c)
 
void OnCollisionStay (Collision c)
 

Detailed Description

This component will store a list of Animation components in the attached GameObject and all it's children. If a Collision occurs on any collider on the object it will stop any of the animations from playing.

Member Function Documentation

MonoBehaviour CollisionAnimationHandler.GetInstance ( )
inline

Implements ICollisionEvents.

void CollisionAnimationHandler.OnCollisionEnter ( Collision  c)
inline

Implements ICollisionEvents.

void CollisionAnimationHandler.OnCollisionExit ( Collision  c)
inline

Implements ICollisionEvents.

void CollisionAnimationHandler.OnCollisionStay ( Collision  c)
inline

Implements ICollisionEvents.


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