- Изменено
Want to hide the animation when loading
My English is not very good and I use a translator,When I use the web page, if the resource is local, there will be no loading animation. If I use the online resource, there will be something loading. Now I am very urgent to hide the animation effect when the online resource is used,Want to hide the animation when loading
Please help me
Please help me
You can set showLoading
to false
in the config object passed to the player. Please see the source:
https://github.com/EsotericSoftware/spine-runtimes/blob/4.1/spine-ts/spine-player/src/Player.ts#L73
Here's an example:
http://esotericsoftware.com/files/blog/4.0-released/blog.js
Used for this page:
Blog: Spine 4.0 is here