Documentation

Unity Engine

Unity Engine

enableRotation

Determines if rotating a sprite is possible during packing.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEditor.U2D
  • Assembly: UnityEditor.CoreModule
public bool enableRotation { get; set; }

Remarks

Rotating the sprite during packing might result in tighter packing and thus a smaller atlas. However, this increases packing time.