Skip to main content

StaticRandomCustomization

A static class in Root.Township, Alta.Customization.

Keeps the main menu's random character look between scene loads.

Properties​

MemberWhat it is
static CosmeticPresetData CurrentRandom { get; private set; }The saved look, or null until Save runs.
static bool IsInUse { get; set; }Flag for whether the random look is in use; not set in this file.

Methods​

MemberWhat it is
static async Task Save(PlayerCosmeticWrapper wrapper)Clears the old saved look and stores a new preset made from the wrapper.