Skip to Main Content

BTD_Mod_Helper​.Api​.Components​.ModHelperScrollPanel


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Components

ModHelperScrollPanel Class

ModHelperComponent for a background panel

public class ModHelperScrollPanel : BTD_Mod_Helper.Api.Components.ModHelperPanel

Inheritance UnityEngine.MonoBehaviourModHelperComponentModHelperPanel  ModHelperScrollPanel

Properties

ModHelperScrollPanel.ContentSizeFitter Property

The ContentSizeFitter component which makes sure that the ScrollContent
is the right size to hold all the scrollable items.

public ContentSizeFitter ContentSizeFitter { get; set; }

Property Value

UnityEngine.UI.ContentSizeFitter

ModHelperScrollPanel.Mask Property

The Mask component which prevents overflow of rendering outside the scroll area

public Mask Mask { get; }

Property Value

UnityEngine.UI.Mask

ModHelperScrollPanel.ScrollContent Property

The ScrollContent object. This is the object that the children are actually part of,
and is what actually moves up and down when scrolling.

public BTD_Mod_Helper.Api.Components.ModHelperPanel ScrollContent { get; }

Property Value

ModHelperPanel

ModHelperScrollPanel.ScrollRect Property

The ScrollRect component which controls many aspects of scrolling

public ScrollRect ScrollRect { get; }

Property Value

UnityEngine.UI.ScrollRect

Methods

ModHelperScrollPanel.AddScrollContent(ModHelperComponent) Method

Adds a child to the ScrollContent of this panel

public void AddScrollContent(BTD_Mod_Helper.Api.Components.ModHelperComponent child);

Parameters

child ModHelperComponent

To learn how to download BTD Mod Helper and install mods, click here