Пример #1
0
 public static List <List <Palette> > GetLevelSpritePalettes(Utils.FilesController workingDirectory)
 {
     return(workingDirectory.LoadFile("LevelMetadata", "", ".json").JsonToObject <List <Datas.LevelMetadata> >().Select(a => a.GetPalettes()).ToList());
 }
Пример #2
0
 public static List <Palette> GetBaseSpritePalettes(Utils.FilesController workingDirectory)
 {
     return(workingDirectory.LoadFile("LevelMetadata", "", ".json").JsonToObject <List <Datas.LevelMetadata> >()[0].GetPalettes());
 }