public static GetFrames ( IReadOnlyFileSystem fileSystem, string filename, ISpriteLoader loaders ) : ISpriteFrame[] | ||
fileSystem | IReadOnlyFileSystem | |
filename | string | |
loaders | ISpriteLoader | |
Результат | ISpriteFrame[] |
public FrameCache(ISpriteLoader[] loaders) { frames = new Cache <string, ISpriteFrame[]>(filename => SpriteLoader.GetFrames(filename, loaders)); }
public FrameCache(IReadOnlyFileSystem fileSystem, ISpriteLoader[] loaders) { frames = new Cache <string, ISpriteFrame[]>(filename => SpriteLoader.GetFrames(fileSystem, filename, loaders)); }