Version: 2020.3

BoundsInt.ClampToBounds

切换到手册
public void ClampToBounds (BoundsInt bounds);

参数

bounds 要限制到的边界。

描述

将该包围盒的位置和大小限制在给定边界。