|
override void | Initialize () |
| Used for initialization.
|
|
override void | AfterUpdate () |
| Called right after updating the player.
|
|
void | EmitLadderSound () |
| Emits a ladder step sound.
|
|
virtual void | BeforeUpdate () |
| Called right before updating the player.
|
|
|
LayerMask | LadderLayerMask |
| The layer mask of the ladder(s).
|
|
float | ClimbSpeed = 3f |
| The climb speed of the Player on ladders.
|
|
float | ClimbStepTimer = 1f |
| The step interval of the Player on ladders.
|
|
float | GrabForceMultiplier = 5f |
| The grab force multiplier when grabbing a ladder.
|
|
float | GrabDuration = 0.5f |
| The grab duration in seconds (until we grab a ladder).
|
|
|
bool | OnLadder [get, protected set] |
| True if the player is using a ladder.
|
|
bool | OnTopOfLadder [get, protected set] |
| True if the player is on top of a ladder.
|
|
Collider | CurrentLadderCollider [get, protected set] |
| Returns the current ladder we are colliding and using.
|
|
float | StepTimer [get, set] |
| The footstep timer interval left before emitting a ladder step.
|
|
bool | Enabled [get, set] |
| Is this PlayerModule enabled?
|
|
int | ExecutionOrder [get, set] |
| The execution order of this PlayerModule, lower means earlier execution.
|
|
Player | Player [get] |
| The attached global::Player to this PlayerModule.
|
|
Camera | Camera [get] |
| The attached camera to this Player. Shortcut equivalent of "Player.Main.Camera".
|
|
◆ AfterUpdate()
override void MFPP.Modules.LadderModule.AfterUpdate |
( |
| ) |
|
|
virtual |
◆ Initialize()
override void MFPP.Modules.LadderModule.Initialize |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file:
- Assets/MFPP/Scripts/Player/Modules/LadderModule.cs