Documentation

Unity Engine

Unity Engine

ClampToBounds(RectInt)

Clamps the position and size of the RectInt to the given bounds.
Read time 1 minuteLast updated a day ago

Definition

public void ClampToBounds(RectInt bounds)

Parameters

bounds

Bounds to clamp the RectInt.