Animate 2020.
TextureAtlasExporter.sheetHeight
Property; An integer value specifying the height of the texture atlas. This value is read-only if TextureAtlasExporter.autoSize is set to true.
var exporter = new TextureAtlasExporter;
exporter.sheetHeight = 512;