• 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 Popover

    Manages Visibility of the popover. Will dismiss itself when the user clicks outside of the popover if HideOnOutsideClick = true

    Inheritance
    System.Object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    Page
    Popover
    Inherited Members
    Page.audioSource
    Page.animator
    Page.ExitOnNewPagePush
    Page.EntryClip
    Page.ExitClip
    Page.EntryMode
    Page.EntryDirection
    Page.ExitMode
    Page.ExitDirection
    Page.PrePushAction
    Page.PostPushAction
    Page.PrePopAction
    Page.PostPopAction
    Page.SLIDE_IN_LEFT
    Page.SLIDE_IN_TOP
    Page.SLIDE_IN_BOTTOM
    Page.SLIDE_IN_RIGHT
    Page.SLIDE_OUT_LEFT
    Page.SLIDE_OUT_TOP
    Page.SLIDE_OUT_BOTTOM
    Page.SLIDE_OUT_RIGHT
    Page.ZOOM_IN_TOP
    Page.ZOOM_IN_BOTTOM
    Page.ZOOM_IN_LEFT
    Page.ZOOM_IN_RIGHT
    Page.ZOOM_OUT_TOP
    Page.ZOOM_OUT_BOTTOM
    Page.ZOOM_OUT_LEFT
    Page.ZOOM_OUT_RIGHT
    Page.DISABLE_AUDIO_SOURCE
    Page.DisableAudioSourceDelay
    Page.Start()
    Page.Enter(Boolean)
    Page.Exit(Boolean)
    Page.SlideIn(Boolean)
    Page.SlideOut(Boolean)
    Page.ZoomIn(Boolean)
    Page.ZoomOut(Boolean)
    Page.FadeIn(Boolean)
    Page.FadeOut(Boolean)
    Page.PlayEntryClip(Boolean)
    Page.PlayExitClip(Boolean)
    Page.DisableAudioSource()
    Namespace: LlamaSoftware.UI
    Assembly: LlamaSoftware.UI.dll
    Syntax
    [RequireComponent(typeof(Animator), typeof(CanvasGroup))]
    public class Popover : Page

    Fields

    HideOnOutsideClick

    Whether or not to hide the popover when the user clicks outside of the popover.

    Declaration
    public bool HideOnOutsideClick
    Field Value
    Type Description
    System.Boolean

    IsVisible

    Visible for inspector to set default state. Changing this at runtime does not trigger in/out transitions nor callbacks. Instead this component can be managed via Toggle(), Show(), and Hide().

    Declaration
    public bool IsVisible
    Field Value
    Type Description
    System.Boolean

    Methods

    Awake()

    Declaration
    protected override void Awake()
    Overrides
    Page.Awake()

    CallPostPopAction()

    Handles setting IsVisible = false after animation completes

    Declaration
    public override void CallPostPopAction()
    Overrides
    Page.CallPostPopAction()

    CallPostPushAction()

    Handles setting IsVisible = true after animation completes

    Declaration
    public override void CallPostPushAction()
    Overrides
    Page.CallPostPushAction()

    Hide()

    Hides the popover. Will do nothing if already hiding

    Declaration
    public void Hide()

    Show()

    Shows the popover. Will do nothing if already showing.

    Declaration
    public void Show()

    Toggle()

    Inverts the state of the popover. If already showing, will hide. If hidden, will show. Useful for single binding onClick in the inspector

    Declaration
    public void Toggle()
    In This Article
    Back to top Generated by DocFX