public static UniTask <Icon> LoadIconAsync(this ResourceFile file, FrameTimingPoint?timingPoint, CancellationToken cancellationToken = default) { return(AsyncLoadCore(static file => LoadIcon(file), file,
public static Model3D CreateObjModel(this ResourceFile file, CancellationToken cancellationToken = default) { return(ObjModelBuilder.CreateLazyLoadingObj(file, cancellationToken)); }
public static Icon LoadIcon(this ResourceFile file) { using var stream = file.GetStream(); return(IcoParser.Parse(stream)); }