platformer
|
Item to control Moving Platforms More...
Public Member Functions | |
override bool | IsUsableBy (Character p) |
Can be used by any character More... | |
override void | Use (Character p) |
When use operate over given targets More... | |
![]() | |
virtual void | Start () |
Get BoxCollider2D More... | |
virtual Vector3 | GetCenter () |
Get real-world-coordinates center More... | |
virtual void | PositionCharacter (Character p) |
Set the position/facing of the player to the desired values More... | |
virtual void | Enter (Character p) |
notify Character is in area item More... | |
virtual void | Exit (Character p) |
notify Character is out area item More... | |
virtual void | OnTriggerEnter2D (Collider2D o) |
When HitBox(EnterAreas) enter -> Enter More... | |
virtual void | OnTriggerExit2D (Collider2D o) |
When HitBox(EnterAreas) leave -> Exit More... | |
Public Attributes | |
MovingPlatformActions | onUse = MovingPlatformActions.Nothing |
Action that Moving Platform will do More... | |
List< MovingPlatform > | targets |
Moving Platforms that will be affected More... | |
![]() | |
Vector3 | offset |
Character offset when playing animation More... | |
Facing | facing = Facing.None |
Character facing when playing animation More... | |
string | animationName |
animation name to play when using More... | |
Item to control Moving Platforms
|
inlinevirtual |
Can be used by any character
Reimplemented from UnityPlatformer.Item.
|
inlinevirtual |
When use operate over given targets
Implements UnityPlatformer.Item.
MovingPlatformActions UnityPlatformer.ItemMovingPlatformController.onUse = MovingPlatformActions.Nothing |
Action that Moving Platform will do
List<MovingPlatform> UnityPlatformer.ItemMovingPlatformController.targets |
Moving Platforms that will be affected