Skip to main content

TeleportPointElement

A class in Root.Township, the global namespace.

List entry with a button for one spawn area, used by the feature test gymnasium's teleport point page.

Constructors​

MemberWhat it is
TeleportPointElement()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private SpawnArea spawnPointBacking field for SpawnPoint.

Properties​

MemberWhat it is
SpawnArea SpawnPoint { get; }The spawn area this entry teleports to.

Methods​

MemberWhat it is
void Clear()Forgets the spawn area and clears the label.
void Setup(SpawnArea spawnPoint)Stores the spawn area and shows its identifier as the label.

Used in​

Members of other types that take, return or hold a TeleportPointElement: