Skip to main content

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​

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

Fields​

2 private and internal fields
MemberWhat it is
private CosmeticCustomizationManager customizationInterfaceThe customization manager for the room.
private static Logger loggerNLog logger for this class.

Methods​

MemberWhat 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
MemberWhat 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.