このアトラスのすべてのファイル名がすべて異なることを考慮して、特定のアトラスからすべてのファイルをロードする方法はありますか?
この投稿で見つかった方法を試し ます Resourcesフォルダー内のファイルのリストを取得する -iOSは完全に機能しますが、基本フォルダーに対してのみ機能し、.atlas拡張子では機能しません
NSString * resourcePath = [[NSBundle mainBundle] resourcePath];
NSString * documentsPath = [resourcePath stringByAppendingPathComponent:@"MYATLAS.atlas"];
NSError * error;
NSArray * directoryContents = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:documentsPath error:&error];