}
});
assetManager.setAssetFactory(AssetType.SUBTEXTURE, new AssetFactory<SubtextureData, Subtexture>() {
@Override
public Subtexture buildAsset(AssetUri uri, SubtextureData data) {
return new Subtexture(uri, data);
}
});
assetManager.addResolver(AssetType.SUBTEXTURE, new SubtextureFromAtlasResolver());
assetManager.addResolver(AssetType.TEXTURE, new ColorTextureAssetResolver());
assetManager.addResolver(AssetType.MESH, new IconMeshResolver());