Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetMinMax(Vector3, Vector3)

Sets the bounds to the min and max value of the box.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void SetMinMax(Vector3 min, Vector3 max)

Parameters

Remarks

Using this function is faster than assigning min and max separately.