/// <summary> /// Creates a runtime AtlasAsset</summary> public static SpineAtlasAsset CreateRuntimeInstance(TextAsset atlasText, Material[] materials, bool initialize) { SpineAtlasAsset atlasAsset = ScriptableObject.CreateInstance <SpineAtlasAsset>(); atlasAsset.Reset(); atlasAsset.atlasFile = atlasText; atlasAsset.materials = materials; if (initialize) { atlasAsset.GetAtlas(); } return(atlasAsset); }
public MaterialsTextureLoader(SpineAtlasAsset atlasAsset) { this.atlasAsset = atlasAsset; }