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
optionalHandle 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