Skip to Main Content

BTD_Mod_Helper​.Api​.Components​.InfoPreset


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Components

InfoPreset Enum

Specific common preset setups of Info structs

public enum InfoPreset

Fields

FillParent 0

Will fill its parent component by matching its top left and bottom right with the parent's


Equivalent to

{  
    AnchorMin = new Vector2(0, 0),  
    AnchorMax = new Vector2(1, 1)  
}  

Set alongside negative width/height to add padding around the edges, or positive to expand beyond

Flex 1

Will fully flex horizontally and vertically,


Equivalent to

{  
    FlexWidth = 1,  
    FlexHeight = 1  
}  
To learn how to download BTD Mod Helper and install mods, click here