InGameInspector.SpawnPointTeleporter
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 holder to a random position in one of the scene's spawn areas.
- Listed in Global namespace: I to L
- Nested in
InGameInspector - Inherits or implements
InGameInspector.InGameTool
Constructors
| Member | What it is |
|---|---|
SpawnPointTeleporter(InGameInspector inspector) | Creates an InGameInspector.SpawnPointTeleporter from inspector. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private List<SpawnArea> availablePoints | Spawn areas found in SpawnArea.InstanceMap when the tool was built. |
private int currentPoint | Index of the selected spawn area. |
private int length | Number of spawn areas found. |
Properties
| Member | What it is |
|---|---|
override string Name { get; } | Shown on the inspector as "Spawn Point Teleporter". |
Methods
| Member | What it is |
|---|---|
override void Disable() | Does nothing for this tool. |
override void Enable(Interactable pickup, Interactor interactor) | Does nothing for this tool. |
override void PressClearAsync() | Moves the holder to a random spawn position in the selected spawn area. |
override void PressDown() | Selects the previous spawn area, wrapping round. |
override void PressUp() | Selects the next spawn area, wrapping round. |
override void ReceiveAngle(float angle) | Does nothing for this tool. |
override void ReceiveInput(PlayerInput controller) | Does nothing for this tool. |
override void Update() | Shows the selected spawn area. |