platformer
Public Member Functions | Public Attributes | List of all members
UnityPlatformer.Trigger2D Class Reference

Abstract class that contains a ITriggerAble More...

Inheritance diagram for UnityPlatformer.Trigger2D:
UnityPlatformer.BoxTrigger2D UnityPlatformer.PolyTrigger2D

Public Member Functions

delegate void OnTrigger (Collider2D o)
 callback type More...
 

Public Attributes

LayerMask collisionMask
 Allowed mask, if something in the mask collide, trigger will fire! More...
 
OnTrigger onTriggerEnter2D
 callback when OnTriggerEnter2D is called with a object that match collisionMask More...
 
OnTrigger onTriggerExit2D
 callback when OnTriggerExit2D is called with a object that match collisionMask More...
 
OnTrigger onTriggerStay2D
 callback when OnTriggerStay2D is called with a object that match collisionMask More...
 
ITriggerAble obj
 Object More...
 

Detailed Description

Abstract class that contains a ITriggerAble

Member Function Documentation

◆ OnTrigger()

delegate void UnityPlatformer.Trigger2D.OnTrigger ( Collider2D  o)

callback type

Member Data Documentation

◆ collisionMask

LayerMask UnityPlatformer.Trigger2D.collisionMask

Allowed mask, if something in the mask collide, trigger will fire!

◆ obj

ITriggerAble UnityPlatformer.Trigger2D.obj

Object

◆ onTriggerEnter2D

OnTrigger UnityPlatformer.Trigger2D.onTriggerEnter2D

callback when OnTriggerEnter2D is called with a object that match collisionMask

◆ onTriggerExit2D

OnTrigger UnityPlatformer.Trigger2D.onTriggerExit2D

callback when OnTriggerExit2D is called with a object that match collisionMask

◆ onTriggerStay2D

OnTrigger UnityPlatformer.Trigger2D.onTriggerStay2D

callback when OnTriggerStay2D is called with a object that match collisionMask


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