Skip to main content

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.

Constructors​

MemberWhat it is
SpawnPointTeleporter(InGameInspector inspector)Creates an InGameInspector.SpawnPointTeleporter from inspector.

Fields​

3 private and internal fields
MemberWhat it is
private List<SpawnArea> availablePointsSpawn areas found in SpawnArea.InstanceMap when the tool was built.
private int currentPointIndex of the selected spawn area.
private int lengthNumber of spawn areas found.

Properties​

MemberWhat it is
override string Name { get; }Shown on the inspector as "Spawn Point Teleporter".

Methods​

MemberWhat 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.