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

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

Inheritance diagram for PixelCrushers.TriggerEvent:
Collaboration diagram for PixelCrushers.TriggerEvent:

Protected Member Functions

virtual void OnTriggerEnter (Collider other)
 
virtual void OnTriggerExit (Collider other)
 
virtual void OnTriggerEnter2D (Collider2D other)
 
virtual void OnTriggerExit2D (Collider2D other)
 

Properties

GameObjectUnityEvent onTriggerEnter [get, set]
 
GameObjectUnityEvent onTriggerExit [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 trigger enter and exit.

Member Function Documentation

◆ OnTriggerEnter()

virtual void PixelCrushers.TriggerEvent.OnTriggerEnter ( Collider  other)
inlineprotectedvirtual

◆ OnTriggerEnter2D()

virtual void PixelCrushers.TriggerEvent.OnTriggerEnter2D ( Collider2D  other)
inlineprotectedvirtual

◆ OnTriggerExit()

virtual void PixelCrushers.TriggerEvent.OnTriggerExit ( Collider  other)
inlineprotectedvirtual

◆ OnTriggerExit2D()

virtual void PixelCrushers.TriggerEvent.OnTriggerExit2D ( Collider2D  other)
inlineprotectedvirtual

Property Documentation

◆ onTriggerEnter

GameObjectUnityEvent PixelCrushers.TriggerEvent.onTriggerEnter
getset

◆ onTriggerExit

GameObjectUnityEvent PixelCrushers.TriggerEvent.onTriggerExit
getset

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