InGameInspector.DirectTeleporter
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Debug inspector tool that teleports the player to wherever the pointer ray hits.
- Listed in Global namespace: I to L
- Nested in
InGameInspector - Inherits or implements
InGameInspector.NonTeleporterInGameTool
Constructors
| Member | What it is |
|---|---|
DirectTeleporter(InGameInspector inspector) | Creates an InGameInspector.DirectTeleporter from inspector. |
Properties
| Member | What it is |
|---|---|
override string Name { get; } | Shown on the inspector as "Direct Teleporter". |
Methods
| Member | What it is |
|---|---|
override void Disable() | Restores teleport mode and turns off the pointer ray. |
override void Enable(Interactable pickup, Interactor interactor) | Takes over the teleport button and turns on the pointer ray. |
override void PressClearAsync() | Does nothing for this tool. |
override void PressDown() | Does nothing for this tool. |
override void PressUp() | Does nothing for this tool. |
override void ReceiveAngle(float angle) | Does nothing for this tool. |
override void ReceiveInput(PlayerInput controller) | On a teleport press, raycasts and teleports the player's feet to the hit point, or shows "Couldn't find point". |
override void Update() | Does nothing for this tool. |