文档

Unity Engine

Unity Engine

ClampToBounds(RectInt)

Clamps the position and size of the RectInt to the given bounds.
阅读时间1 分钟最后更新于 2 天前

Definition

public void ClampToBounds(RectInt bounds)

Parameters

bounds

Bounds to clamp the RectInt.