Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


blockOffset

Block offset to use while packing.
Read time 1 minuteLast updated 12 days ago

Definition

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

Remarks

To avoid compression artifacts in certain texture compression formats, pixels of each Sprite in the Sprite Atlas cannot share a block (block size is determined by the Block Offset).