[csharp] Added getter accessors for Atlas.Pages and Atlas.Regions as they were missing (only enumeration of regions or access by name was possible).

This commit is contained in:
Harald Csaszar 2020-11-26 15:36:30 +01:00
parent 23bce387af
commit dc8b249999

View File

@ -58,6 +58,9 @@ namespace Spine {
} }
#endregion #endregion
public List<AtlasRegion> Regions { get { return regions; } }
public List<AtlasPage> Pages { get { return pages; } }
#if !(IS_UNITY) #if !(IS_UNITY)
#if WINDOWS_STOREAPP #if WINDOWS_STOREAPP
private async Task ReadFile(string path, TextureLoader textureLoader) { private async Task ReadFile(string path, TextureLoader textureLoader) {