Using the Asset Registry tutorial. entity.model.model or entity.model.asset?

Please, check out this tutorial: https://developer.playcanvas.com/en/tutorials/using-assets/
The code in this tutorial and script in the project: https://playcanvas.com/project/406036/overview/tutorial-asset-registry are different

The first one is using this.entity.model.asset to assign 3d models. But in the project it is this.entity.model.model.
Or is it alright to use both ways?

Use this.entity.model.asset please

2 Likes

Thanks for letting us know about the project error. This has now been fixed in the project.