NGUI: Next-Gen UI kit
3.7.2
|
This script makes it possible to resize the specified widget by dragging on the object this script is attached to. More...
Public Attributes | |
UIWidget | target |
Widget that will be dragged. More... | |
UIWidget.Pivot | pivot = UIWidget.Pivot.BottomRight |
Widget's pivot that will be dragged More... | |
int | minWidth = 100 |
Minimum width the widget will be allowed to shrink to when resizing. More... | |
int | minHeight = 100 |
Minimum height the widget will be allowed to shrink to when resizing. More... | |
int | maxWidth = 100000 |
Maximum width the widget will be allowed to expand to when resizing. More... | |
int | maxHeight = 100000 |
Maximum height the widget will be allowed to expand to when resizing. More... | |
This script makes it possible to resize the specified widget by dragging on the object this script is attached to.
int UIDragResize.maxHeight = 100000 |
Maximum height the widget will be allowed to expand to when resizing.
int UIDragResize.maxWidth = 100000 |
Maximum width the widget will be allowed to expand to when resizing.
int UIDragResize.minHeight = 100 |
Minimum height the widget will be allowed to shrink to when resizing.
int UIDragResize.minWidth = 100 |
Minimum width the widget will be allowed to shrink to when resizing.
UIWidget.Pivot UIDragResize.pivot = UIWidget.Pivot.BottomRight |
Widget's pivot that will be dragged
UIWidget UIDragResize.target |
Widget that will be dragged.