ClampToBounds(BoundsInt)
Clamps the position and size of this bounding box to the given bounds.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void ClampToBounds(BoundsInt bounds)
Parameters
Bounds to clamp to.