Summary
Subtracts the `height` from the top side of the `area`
and returns a new
UnityEngine.Rect occupying the removed section.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static Rect StealFromTop(ref Rect area, float height, float padding = 0)
Parameters
| Name | Type | Description |
|---|---|---|
| area | Rect | |
| height | float | |
| padding | float |
Return Value
| Type | Description |
|---|---|
| Rect |