New UI Widgets
1.18.2
  • Overview
  • Project Settings
  • Widgets Generator
  • Widgets
    • Collections
    • Containers
    • Controls
      • Context Menu
      • Paginator
      • Sidebar
        • Options
        • Events
      • SplitButton
    • Dialogs
    • Input
    • Miscellaneous
  • Components
  • Helpers
  • Effects
  • Shaders
  • UI Scaling
  • Customization
  • Integration
  • Supported Packages
  • Controllers Support
  • Known Problems
  • Support
  • Changelog
  • Games
  • Unity Assets
  • Mods
  • EasyLayout
  • New UI Widgets
  • UI Themes
New UI Widgets
  • Widgets
  • Controls
  • Sidebar

Sidebar

Component to drag sidebar from behind the screen.

Options

  • Interactable bool

    Enable or disable the ability to drag the sidebar.

  • Curve AnimationCurve

    Animation curve for the open and close animations.

  • Direction SidebarAxis

    Drag direction to open sidebar.

  • Animation Type SidebarAnimation

    • Overlay

    • Push

    • Scale Down

    • Uncover

    • Slide Along

    • Slide Out

    • Resize

    • Scale Down and Push

  • Scale Down Limit float

    Content scale cannot be lower this value for the ScaleDown animation.

  • Is Open bool

    Is sidebar opened?

  • Modal bool

    Is sidebar should be closed with the click outside of the sidebar?

  • ScrollRect Support bool

    Allow to handle children ScrollRect’s drag events.

  • Content RectTransform

    Cntent GameObject. Required by some animations.

  • Animate With Layout bool

    Change Content LayoutElement size during animation.

  • Optional Handle GameObject optional

    Handle to open and close sidebar.

  • Unscaled Time bool

    Run animations with unscaled time.

  • Modal Color Color

    Modal background color.

Events

  • OnOpen UnityEvent

  • OnClose UnityEvent

  • OnOpeningStarted UnityEvent

  • OnClosingStarted UnityEvent

Previous Next

© Copyright 2025, Ilia Novikov.

Built with Sphinx using a theme provided by Read the Docs.