TutorialPromptBoard
A class in Root.Township, the global namespace.
Popup board asking the player whether to play the tutorial. Join loads the tutorial scene; skip closes the board. Client side.
- Listed in Global namespace: T to X
- Inherits or implements
PopupBoard
Constructors
| Member | What it is |
|---|---|
TutorialPromptBoard() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
| Member | What it is |
|---|---|
private bool isJoining | True once join was pressed, to block repeats. |
private PhysicalButton joinTutorialButton | Button that starts the tutorial. |
private PhysicalButton skipTutorialButton | Button that closes the board. |
private string skipTutorialFollowupMessage | Message text for a follow-up after skipping. Not used in this class. |
private string skipTutorialFollowupTitle | Title for a follow-up after skipping. Not used in this class. |
Events
| Member | What it is |
|---|---|
event Action JoinTutorialSelected | Raised when the player picks the tutorial, before it loads. |
Methods
2 private and internal methods
Used in
Members of other types that take, return or hold a TutorialPromptBoard: