Skip to main content

CategoryScrubberController

A class in Root.Township, Alta.Customization.

Sets the customization category scrubber's step count once the customization manager has loaded.

Constructors​

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

Fields​

3 private and internal fields
MemberWhat it is
private ItemScroller scrollerItem scroller showing the categories.
private CategoryScrollManager scrollManagerCategory scroll manager.
private Scrubber scrubberScrubber whose steps are set.

Methods​

2 private and internal methods
MemberWhat it is
private void Setup()Sets scrubber steps to the number of available categories minus the scroller's visible count.
private void Start()Runs Setup now if owned cosmetics are loaded, otherwise when the customization manager initializes.