FATabBar Class

[RequireComponent(typeof(HorizontalLayoutGroup))] 
public class FATabBar
This language is not supported or no code example is available.
Fields
 
Name Description
Public field buttons Collection of all the buttons this tab bar contains.
Public field scrollSnapRect The FAScrollSnapBehaviour that this tab bar interact with.
Public field selectedBtnFlexibleWidth As this whole asset utilises Unity's LayoutGroups components, the sliding animation of the buttons is done by manipulating the values of the VerticalLayoutGroup and LayoutElement components.

This controls the FlexibleWidth of the button

Public field selectedBtnPaddingTop As this whole asset utilises Unity's LayoutGroups components, the sliding animation of the buttons is done by manipulating the values of the VerticalLayoutGroup and LayoutElement components.

This controls the Padding.Top of the button

Public field selector The selector image indicator that slides over the buttons.
Public field startingPage Gets or sets the starting page.

Gets overriden if used with FAScrollSnapBehaviour

Public field titlePreferedHeight As this whole asset utilises Unity's LayoutGroups components, the sliding animation of the buttons is done by manipulating the values of the VerticalLayoutGroup and LayoutElement components.

This controls the Height of the button's title

Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition