文档

Unity Engine

Unity Engine

Clamp(Vector2Int, Vector2Int)

Clamps the Vector2Int to the bounds given by min and max.
阅读时间1 分钟最后更新于 1 天前

Definition

public void Clamp(Vector2Int min, Vector2Int max)

Parameters

The minimum bound.

The maximum bound.