CosmeticScrollManager
A class in Root.Township, Alta.Customization.
Client: a scroll list of the cosmetics the local player owns in one category. Fills itself from CustomizationManager.Owned once customization has loaded.
- Listed in Customization and screenshots
- Inherits or implements
ScrollManager
Constructors
| Member | What it is |
|---|---|
CosmeticScrollManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private PlayerCosmeticCategory currentCategory | The category currently listed. |
private PlayerCosmeticCategory initialCategory | Category shown when the list first starts. |
Methods
| Member | What it is |
|---|---|
void UpdateCategory(PlayerCosmeticCategory category) | Switches the list to another cosmetic category and refills it with the owned options in it. Does nothing if it's already showing that category. |
2 private and internal methods
Used in
Members of other types that take, return or hold a CosmeticScrollManager: