Skip to main content

LabelledInteractPoint

A class in Root.Township, Alta.UserInterface.

A SimpleInteractPoint with a text label.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private string labelBacking field for Label.
private TextRenderer labelTextRendererText that shows the label.

Properties​

MemberWhat it is
string Label { get; set; }The label text. Setting it updates the text renderer.

Methods​

1 private and internal method
MemberWhat it is
private void Awake()Shows the set label if there is one.