Summary
Subtracts the `width` from the right side of the `area` and returns a new
UnityEngine.Rect
occupying the
removed section.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static Rect StealFromRight(ref Rect area, float width, RectOffset padding)
Parameters
Name | Type | Description |
---|---|---|
area | Rect | |
width | float | |
padding | RectOffset |
Return Value
Type | Description |
---|---|
Rect |