Closed cklwblove closed 3 years ago
在官方文档 动画-lottie章节中,示例代码有些问题
import { Game, GameObject, resource } from '@eva/eva.js' + import { RendererSystem } from '@eva/plugin-renderer' import { LottieSystem, Lottie } from '@eva/plugin-renderer-lottie' const game = new Game({ systems: [ - new RenderSystem({ + new RendererSystem({ canvas: document.querySelector('#canvas'), width: 750, height: 1624 }), new LottieSystem() ], autoStart: true, frameRate: 60 }) ......
感谢提出问题,已解决
在官方文档 动画-lottie章节中,示例代码有些问题