Resizable Handles
Helper component with handles to resize for the Resizable.
Options
Interactable
boolAllow users to change the size of the GameObject.
Own Handles
boolIf enabled you can specify your own handles for the current component.If disabled you can specify Handles Source for current component, this allows you to create a single set of handles instead of duplicate them for each component.Handles should be acquired withGetSourceHandles()and returned withReleaseSourceHandles()functions.Handles Source
ResizableHandlesHandles source to use if Own Handles disabled.
Top Left
DragListeneroptionalTop left handle.
Top Center
DragListeneroptionalTop center handle.
Top Right
DragListeneroptionalTop right handle.
Middle Left
DragListeneroptionalMiddle left handle.
Middle Right
DragListeneroptionalMiddle right handle.
Bottom Left
DragListeneroptionalBottom left handle.
Bottom Center
DragListeneroptionalBottom center handle.
Bottom Right
DragListeneroptionalBottom right handle.
HandleState
Func<ResizableHandles, BaseEventData, bool, bool>optionalReturn handle state (enabled/disabled) on select/deselect event (got or lost focus).Use case: show Rotatable and Resizable handles only if target (or one of handles) is selected, otherwise deselect.
Events
OnStartResize
UnityEvent<Resizable>OnResize
UnityEvent<Resizable>OnEndResize
UnityEvent<Resizable>