• Home
  • Documentation
  • Guides
  • FAQ
  • Get Essential UI Pack
Search Results for

    Show / Hide Table of Contents
    • LlamaSoftware.UI
      • ButtonClickSoundPlayer
      • Draggable
      • EUIPButton
      • EUIPButton.ButtonLabelStyle
      • EUIPSlider
      • EUIPSlider.DisplayFormat
      • InputFieldSliderValueDisplay
      • MenuController
      • MultiValueToggle
      • MultiValueToggleArrow
      • MultiValueToggleArrow.OnPointerUpCallback
      • Page
      • Popover
      • ProgressBar
      • ScrollViewZoomFixer
      • SliderValueDisplay
      • SliderValueSetter
      • Spinner
      • UIAnimationConstants
      • UIAnimationConstants.Direction
      • UIAnimationConstants.EntryMode
    • LlamaSoftware.UI.Tabs
      • TabbedPanel
      • TabbedPanel.ChangeTabEvent
      • TabbedPanelContent
      • TabbedPanelHeader
    • LlamaSoftware.UI.Utility
      • CornersUIGradient
      • RotatableLinearUIGradient
      • SimpleProgressBar
      • TextUpdatingProgressBar
      • UIGradientUtils
      • UIGradientUtils.Matrix2x3

    Class TabbedPanelHeader

    Header for the TabbedPanel. Only a UI representation, the TabbedPanel controls everything.

    Inheritance
    System.Object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    TabbedPanelHeader
    Implements
    System.IEquatable<TabbedPanelHeader>
    Namespace: LlamaSoftware.UI.Tabs
    Assembly: LlamaSoftware.UI.Tabs.dll
    Syntax
    [RequireComponent(typeof(EventTrigger))]
    [DisallowMultipleComponent]
    public class TabbedPanelHeader : MonoBehaviour, IEquatable<TabbedPanelHeader>

    Fields

    AnimateBackgroundColorDuration

    Duration of the tweening between SelectedColor and

    Declaration
    [Range(0.01F, 1F)]
    public float AnimateBackgroundColorDuration
    Field Value
    Type Description
    System.Single

    BackgroundImage

    Background image

    Declaration
    public Image BackgroundImage
    Field Value
    Type Description
    UnityEngine.UI.Image

    DeselectedColor

    Color to change the background image tint to when the this is NOT the active header

    Declaration
    public Color DeselectedColor
    Field Value
    Type Description
    UnityEngine.Color

    Icon

    Icon to display on the header

    Declaration
    public Image Icon
    Field Value
    Type Description
    UnityEngine.UI.Image

    SelectedColor

    Color to change the background image tint to when the this is the active header

    Declaration
    public Color SelectedColor
    Field Value
    Type Description
    UnityEngine.Color

    TitleText

    Text for the header

    Declaration
    public TextMeshProUGUI TitleText
    Field Value
    Type Description
    TMPro.TextMeshProUGUI

    Methods

    Deselect()

    Selects this header. Will fade BackgroundImage color from SelectedColor to DeselectedColor

    Declaration
    public virtual void Deselect()

    Equals(TabbedPanelHeader)

    Declaration
    public bool Equals(TabbedPanelHeader other)
    Parameters
    Type Name Description
    TabbedPanelHeader other
    Returns
    Type Description
    System.Boolean

    FadeInSelectedColor()

    Tweens from DeselectedColor to SelectedColor

    Declaration
    protected IEnumerator FadeInSelectedColor()
    Returns
    Type Description
    System.Collections.IEnumerator

    FadeOutSelectedColor()

    Tweens from SelectedColor to DeselectedColor

    Declaration
    protected IEnumerator FadeOutSelectedColor()
    Returns
    Type Description
    System.Collections.IEnumerator

    GetTitleText()

    Returns the TitleText's text

    Declaration
    public string GetTitleText()
    Returns
    Type Description
    System.String

    Select()

    Selects this header. Will fade BackgroundImage color from DeselectedColor to SelectedColor

    Declaration
    public virtual void Select()

    SetTitle(String)

    Safely updates the TitleText's text

    Declaration
    public void SetTitle(string Text)
    Parameters
    Type Name Description
    System.String Text

    StopFadeInCoroutine()

    Cancels the FadeInCoroutine, if it is running

    Declaration
    protected void StopFadeInCoroutine()

    StopFadeOutCoroutine()

    Cancels the FadeOutCoroutine, if it is running

    Declaration
    protected void StopFadeOutCoroutine()

    Implements

    System.IEquatable<T>
    In This Article
    Back to top Generated by DocFX