Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


center

Center coordinate of the rectangle.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public readonly Vector2 center { get; }