摘要: const animationComponent = i.addComponent(Animation); if(animationComponent){ const component = animationComponent.getComponent(Animation); if(compone 阅读全文
posted @ 2023-07-24 20:03 赋流 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 今天在开发过程中遇到深拷贝与浅拷贝的问题 const userData1: number[][] = this.dataMangager.getUserDataMap(); 该行代码中的userData1 是一个指向 this.dataMangager.getUserDataMap() 返回的二维数 阅读全文
posted @ 2023-07-24 15:11 赋流 阅读(339) 评论(0) 推荐(0) 编辑