Documentation

Unity Engine

Download Unity

Unity Engine

center

Get the center of the AABB.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly Vector2 center { get; }