platformer
|
Perform actions over a MovingPlatform when something enter/stay/leave More...
Public Member Functions | |
void | OnTriggerEnter2D (Collider2D o) |
OnTriggerEnter2D More... | |
void | OnTriggerExit2D (Collider2D o) |
OnTriggerExit2D More... | |
void | OnTriggerStay2D (Collider2D o) |
OnTriggerStay2D More... | |
Public Attributes | |
LayerMask | mask |
mask to trigger actions More... | |
List< MovingPlatform > | targets |
target Moving Platforms More... | |
MovingPlatformActions | onEnter = MovingPlatformActions.Nothing |
Action to perform when enter More... | |
MovingPlatformActions | onExit = MovingPlatformActions.Nothing |
Action to perform when leave More... | |
MovingPlatformActions | onStay = MovingPlatformActions.Nothing |
Action to perform while stay More... | |
Perform actions over a MovingPlatform when something enter/stay/leave
NOTE Stay will be executed many times, it's not recommended to use it...
|
inline |
OnTriggerEnter2D
Implements UnityPlatformer.ITriggerAble.
|
inline |
OnTriggerExit2D
Implements UnityPlatformer.ITriggerAble.
|
inline |
OnTriggerStay2D
Implements UnityPlatformer.ITriggerAble.
LayerMask UnityPlatformer.MovingPlatformController.mask |
mask to trigger actions
MovingPlatformActions UnityPlatformer.MovingPlatformController.onEnter = MovingPlatformActions.Nothing |
Action to perform when enter
MovingPlatformActions UnityPlatformer.MovingPlatformController.onExit = MovingPlatformActions.Nothing |
Action to perform when leave
MovingPlatformActions UnityPlatformer.MovingPlatformController.onStay = MovingPlatformActions.Nothing |
Action to perform while stay
List<MovingPlatform> UnityPlatformer.MovingPlatformController.targets |
target Moving Platforms