Loading...
Searching...
No Matches
PixelCrushers.CollisionEvent Class Reference

Invokes events on collision enter and exit. More...

Inheritance diagram for PixelCrushers.CollisionEvent:
Collaboration diagram for PixelCrushers.CollisionEvent:

Protected Member Functions

virtual void OnCollisionEnter (Collision collision)
 
virtual void OnCollisionExit (Collision collision)
 
virtual void OnCollisionEnter2D (Collision2D collision)
 
virtual void OnCollisionExit2D (Collision2D collision)
 

Properties

GameObjectUnityEvent onCollisionEnter [get, set]
 
GameObjectUnityEvent onCollisionExit [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.TagMaskEvent
bool IsInTagMask (string tag)
 
- Public Attributes inherited from PixelCrushers.TagMaskEvent
TagMask tagMask = new TagMask()
 

Detailed Description

Invokes events on collision enter and exit.

Member Function Documentation

◆ OnCollisionEnter()

virtual void PixelCrushers.CollisionEvent.OnCollisionEnter ( Collision  collision)
inlineprotectedvirtual

◆ OnCollisionEnter2D()

virtual void PixelCrushers.CollisionEvent.OnCollisionEnter2D ( Collision2D  collision)
inlineprotectedvirtual

◆ OnCollisionExit()

virtual void PixelCrushers.CollisionEvent.OnCollisionExit ( Collision  collision)
inlineprotectedvirtual

◆ OnCollisionExit2D()

virtual void PixelCrushers.CollisionEvent.OnCollisionExit2D ( Collision2D  collision)
inlineprotectedvirtual

Property Documentation

◆ onCollisionEnter

GameObjectUnityEvent PixelCrushers.CollisionEvent.onCollisionEnter
getset

◆ onCollisionExit

GameObjectUnityEvent PixelCrushers.CollisionEvent.onCollisionExit
getset

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