A class in Root.Township, the global namespace.
Component with a method that shows a message on the local player's screen, for wiring up from inspector events.
Constructors
| Member | What it is |
|---|
PlayerDebugMessager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private DisplayMessageType displayType | How the message replaces any current one. |
private float messageDuration | Seconds the message is shown (2 by default). |
Methods
| Member | What it is |
|---|
void DisplayMessage(string message) | Client: shows the message on the local player's message display. |