Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
m2wasabi committed Aug 20, 2019
1 parent e3fc1f9 commit 6ec56b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ VRMMetaObject meta = metaLoader.Read(); // without thumbnail but fast
Texture2D thumbnail = metaLoader.LoadThumbnail();
```

### Async Read

You can also use Async Method

```csharp
var bytes = await Task.Run(() => File.ReadAllBytes(file));
var metaLoader = new MetaLoader(bytes);
VRMMetaObject meta = await metaLoader.ReadAsync(true);
```

## License

MIT License
Expand Down

0 comments on commit 6ec56b6

Please sign in to comment.