InGameInspector.NonTeleporterInGameTool
An private abstract class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Base for inspector tools that use the teleport button themselves. While enabled it removes the player's teleport controller mode on that hand.
Constructors
Fields
| Member | What it is |
|---|
protected PlayerInput controller | Input of the player holding the inspector, set while the tool is enabled. |
Methods
| Member | What it is |
|---|
override void Disable() | Adds teleport mode back to the player's controller. |
override void Enable(Interactable pickup, Interactor interactor) | Stores the holder's PlayerInput and removes its teleport controller mode. |