public void ClampToBounds (RectInt bounds);

参数

bounds要用于限制 RectInt 的边界。

描述

将 RectInt 的位置和大小限制在给定边界。