IGEditorUtils.

StealFromLeft(Rect, float) Method

Summary

Subtracts the `width` from the left side of the `area` and returns a new UnityEngine.Rect occupying the removed section.

Syntax

public static Rect StealFromLeft(ref Rect area, float width)

Parameters

Name Type Description
area Rect
width float

Return Value

Type Description
Rect