Summary
Subtracts the `width` from the left 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 StealFromLeft(ref Rect area, float width, RectOffset padding)
Parameters
Name | Type | Description |
---|---|---|
area | Rect | |
width | float | |
padding | RectOffset |
Return Value
Type | Description |
---|---|
Rect |