Summary
A
PlatformerGameKit.Characters.States.JumpState
which allows you to hold the button down to jump higher.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.Characters .States - Interfaces
-
- IOwnedState
<CharacterState>
- IOwnedState
- Base Types
-
- StateBehaviour
- CharacterState
- JumpState
- Derived Types
Syntax
[AddComponentMenu(MenuPrefix + "Hold Jump State")]
[PlatformerHelpUrl(typeof(HoldJumpState))]
public class HoldJumpState : JumpState, IOwnedState<CharacterState>
Remarks
Documentation:
Hold Jump
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Platformer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
|
Fields
Name | Constant Value | Summary |
---|---|---|
MenuPrefix | Platformer Game Kit/Characters/States/ |
The menu prefix for
UnityEngine.AddComponentMenu .Inherited from CharacterState
static
|
Properties
Name | Value | Summary |
---|---|---|
Animation | ClipTransition |
Inherited from JumpState
|
CanEnterState | bool |
Inherited from JumpState
|
CanTurn | bool |
Inherited from CharacterState
|
Character | Character |
The
Samples.PlatformerCharacter that owns this state.Inherited from CharacterState
|
Height | float |
Inherited from JumpState
|
HoldAcceleration | float | |
Inertia | float |
Inherited from JumpState
|
Movement |
float |
Inherited from JumpState
|
OwnerStateMachine | StateMachine |
Inherited from CharacterState
|
Methods
Name | Value | Summary |
---|---|---|
Awake |
void |
Inherited from JumpState
|
CalculateJumpSpeed |
float |
Inherited from JumpState
|
Calculate |
Vector2 |
Inherited from JumpState
|
Calculate |
Vector2 |
Inherited from JumpState
|
FixedUpdate |
void | |
OnEnterState |
void |
Inherited from JumpState
|
OnExitState |
void |
Inherited from JumpState
|
OnValidate |
void | |
SetCharacter |
void |
Sets the
PlatformerGameKit.Characters.States.CharacterState.Character .Inherited from CharacterState
|