MainMenuCustomizationInterface
A class in Root.Township, Alta.Customization.
Sets up the character customization room in the main menu when the player logs in. Client side.
Constructors
| Member | What it is |
|---|
MainMenuCustomizationInterface() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private CosmeticCustomizationManager customizationInterface | The customization manager for the room. |
private static Logger logger | NLog logger for this class. |
Methods
| Member | What it is |
|---|
protected override void LoggedIn() | Calls InitializeRoom. |
protected override void LoggedOut() | Hides the customization room. |
protected override void OnDestroy() | Saves the current look into StaticRandomCustomization for next time. |
1 private and internal method
| Member | What it is |
|---|
private async void InitializeRoom() | Works out the subscriber status, loads owned cosmetics and starts the room, then randomizes the look or reloads the saved random one. |