Version: 2022.2
public void Clamp (Vector2Int min, Vector2Int max);

描述

将 Vector2Int 限制在 min 和 max 给定的边界内。