![]() |
Platformer Pro
2.3.2
A platform game kit for Unity.
|
A wrapper class for handling moving on ladders and other climbables that proxies the movement function to the desired implementation. More...
Public Member Functions | |
virtual bool | WantsClimb () |
Gets a value indicating whether this movement wants to intiate the climbing. More... | |
![]() | |
sealed override Movement | Init (Character character) |
Initialise this movement. More... | |
bool | IsMovementDataDifferent (MovementVariable[] originalMovementData) |
Determines whether this instances movement data is different from the supplied originalMovementData. More... | |
Properties | |
virtual bool | DetectLaddersByTag [get, protected set] |
Should we find ladders by tag or by layer. If true we will use tags, if false we will use layers. Tags are easier to use but come with an allocation cost. More... | |
virtual string | LadderLayerOrTagName [get, protected set] |
The name of the ladder lyaer if we find by layers, or the tag name if we find by tags. More... | |
override bool | ShouldDoRotations [get] |
Gets a value indicating whether this PlatformerPro.Movement expects the rotations to be calculated and applied by the character. By default ladders don't do this. More... | |
new static MovementInfo | Info [get] |
Static movement info used by the editor. More... | |
![]() | |
virtual string | MovementType [get, set] |
The type of movement as a string. More... | |
virtual MovementVariable[] | MovementData [get, set] |
Data that should be applied to the movement type on init. More... | |
new static MovementInfo | Info [get] |
Static movement info used by the editor. More... | |
override bool | Enabled [get, set] |
A custom enable which base movements can use to pass on enable values. More... | |
override Movement | Implementation [get] |
Gets the underlying implementation. More... | |
Additional Inherited Members | |
![]() | |
Movement | implementation |
The class that will do the movement. More... | |
string | movementType |
The type of movement as a string. More... | |
MovementVariable[] | movementData |
Data that should be applied to the movement type on init. More... | |
A wrapper class for handling moving on ladders and other climbables that proxies the movement function to the desired implementation.
|
virtual |
Gets a value indicating whether this movement wants to intiate the climbing.
Reimplemented in PlatformerPro.LadderMovement_WithTopClimb, PlatformerPro.LadderMovement_DigitalForTiles, PlatformerPro.LadderMovement_Digital, PlatformerPro.ClimbMovement_Rope, PlatformerPro.ClimbMovement_HorizontalOnly, and PlatformerPro.ClimbMovement_FourWay.
|
getprotected set |
Should we find ladders by tag or by layer. If true we will use tags, if false we will use layers. Tags are easier to use but come with an allocation cost.
|
staticget |
Static movement info used by the editor.
|
getprotected set |
The name of the ladder lyaer if we find by layers, or the tag name if we find by tags.
|
get |
Gets a value indicating whether this PlatformerPro.Movement expects the rotations to be calculated and applied by the character. By default ladders don't do this.