Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set(float, float, float, float)

Set components of an existing Rect.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void Set(float x, float y, float width, float height)

Parameters