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

    Utility class to fix issues with ScrollRects when adjusting scale with ZOOM animation specifically. Optionally will always scroll to top of a ScrollRect when a Page enters.

    Inheritance
    System.Object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    ScrollViewZoomFixer
    Namespace: LlamaSoftware.UI
    Assembly: LlamaSoftware.UI.dll
    Syntax
    public class ScrollViewZoomFixer : MonoBehaviour

    Fields

    ForceScrollToStart

    If you would like to force scrolling to the top or not

    Declaration
    public bool ForceScrollToStart
    Field Value
    Type Description
    System.Boolean

    ScrollView

    The ScrollRect to operate on

    Declaration
    public ScrollRect ScrollView
    Field Value
    Type Description
    UnityEngine.UI.ScrollRect

    Methods

    PostPushPage()

    Bind to PostPushPage to fix ScrollView issues with ZOOM animation

    Declaration
    public void PostPushPage()

    PrePopPage()

    Bind to PrePopPage to fix ScrollView issues with ZOOM animation

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