Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
filipemeneses committed Sep 9, 2023
1 parent 1e7b2ae commit 94f45bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const parseUnityJsonToThreejs = createUnityJsonToThreeJsParser({
THREE,
GLTFLoader
});
const instances = await parseUnityJsonToThreejs(unityScene);
const instances = await parseUnityJsonToThreejs('MyScene', unityContext);

instance.forEach(threejsItem => {
if (threejsItem instanceof THREE.Group) {
Expand All @@ -43,8 +43,6 @@ instance.forEach(threejsItem => {
})
```



[build-img]:https://github.com/filipemeneses/unity-to-json-threejs-parser/actions/workflows/release.yml/badge.svg
[build-url]:https://github.com/filipemeneses/unity-to-json-threejs-parser/actions/workflows/release.yml
[downloads-img]:https://img.shields.io/npm/dt/unity-to-json-threejs-parser
Expand Down

0 comments on commit 94f45bb

Please sign in to comment.