Live2D
摘要: 方法: const imgSrcQueue: Array<HTMLImageElement> = []; export function preloadImageList(names) { return new Promise((resolve) => { let n = 0, img, imgs 阅读全文
posted @ 2023-04-21 16:30 喻佳文 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 封装一个可以使用onAppear的<VIew/>组件: import React, { PureComponent } from 'react'; class View extends PureComponent { constructor(props) { super(props); this.t 阅读全文
posted @ 2023-04-21 15:55 喻佳文 阅读(114) 评论(0) 推荐(0) 编辑