Splitter
Note
minWidth and minHeight properties of the LayoutElement to set minimal size of the GameObjects.SplitterMaxSize component to set the maximum size of the GameObjects. Total maximum size should be less than the total size of the GameObjects.Options
Interactable
boolAllow users to interact with the splitter.
Type
SplitterTypeHorizontal: change heights of the GameObjects.Vertical: change widths of the GameObjects.
Update RectTransform
boolChange RectTransform size of the left and right GameObjects.
Update LayoutElement
boolChange LayoutElement size of the left and right GameObjects.
Drag Button
PointerEventData.InputButtonThe button that should be pressed to process the drag event.
Integer Size
boolIf enabled size is rounded to the integer number.
Mode
SplitterModeAuto: use previous and next siblings in hierarchy.Manual: use specified targets to resize.
Previous Object
RectTransformLeft (or top) GameObject to resize.
Next Object
RectTransformRight (or bottom) GameObject to resize.
Cursors
CursorsCursors to use.
Events
OnStartResize
UnityEvent<Splitter>OnResize
UnityEvent<Splitter>OnEndResize
UnityEvent<Splitter>