Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pivot

Location of the Sprite's pivot point in the Rect on the original Texture, specified in pixels.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

Additional Resources: Sprite.rect.