Version: 2021.3
public void ClampToBounds (BoundsInt bounds);

파라미터

bounds Bounds to clamp to.

설명

Clamps the position and size of this bounding box to the given bounds.