InGameInspector.StraightJumper
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Debug inspector tool that moves the player a set distance forward, up or down in one step.
- Listed in Global namespace: I to L
- Nested in
InGameInspector - Inherits or implements
InGameInspector.NonTeleporterInGameTool - Nested types
Direction
Constructors
| Member | What it is |
|---|---|
StraightJumper(InGameInspector inspector) | Creates an InGameInspector.StraightJumper from inspector. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private InGameInspector.StraightJumper.Direction currentDirection | Horizontal, up or down. |
private float distance | Jump length in metres. Starts at 0.5. |
Properties
| Member | What it is |
|---|---|
override string Name { get; } | Shown on the inspector as "Straight Jumper". |
Methods
| Member | What it is |
|---|---|
override void PressClearAsync() | Moves the player distance metres in the chosen direction. Forward uses the head direction flattened to horizontal. |
override void PressDown() | Shortens the jump by 0.5 metres. |
override void PressUp() | Lengthens the jump by 0.5 metres. |
override void ReceiveAngle(float angle) | Does nothing for this tool. |
override void ReceiveInput(PlayerInput controller) | Picks up, horizontal or down from the angle of the swipe when the teleport button is pressed. |
override void Update() | Shows the distance and direction. |