LoggedInWindow
A class in Root.Township, Alta.Meta.UI.ServerManagement.
Switches a main menu window to its logged-in panel once the player is logged in. Client only.
- Listed in Menus, UI and platforms
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
LoggedInWindow() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
3 private and internal methods
| Member | What it is |
|---|---|
private void Awake() | Subscribes to the target window's Started event. |
private void HandleLogin() | Unsubscribes from LoginManager.LoggedIn and switches to the logged-in panel. |
private void WindowStarted(Window obj) | When the window starts, switches panels now if already logged in, otherwise waits for LoginManager.LoggedIn. |