Resizable Handles

Helper component with handles to resize for the Resizable.

Options

  • Interactable bool

    Allow users to change the size of the GameObject.

  • Own Handles bool

    If 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 with GetSourceHandles() and returned with ReleaseSourceHandles() functions.
  • Handles Source ResizableHandles

    Handles source to use if Own Handles disabled.

  • Top Left DragListener optional

    Top left handle.

  • Top Center DragListener optional

    Top center handle.

  • Top Right DragListener optional

    Top right handle.

  • Middle Left DragListener optional

    Middle left handle.

  • Middle Right DragListener optional

    Middle right handle.

  • Bottom Left DragListener optional

    Bottom left handle.

  • Bottom Center DragListener optional

    Bottom center handle.

  • Bottom Right DragListener optional

    Bottom right handle.

Events

  • OnStartResize UnityEvent<Resizable>

  • OnResize UnityEvent<Resizable>

  • OnEndResize UnityEvent<Resizable>