Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


enableRotation

Determines if rotating a sprite is possible during packing.
Read time 1 minuteLast updated 10 days 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.