07 2023 档案
摘要:enum BlockPrefab{ BLOCK2 = 0, BLOCK4, BLOCK8, BLOCK16, BLOCK32, BLOCK64, BLOCK128, BLOCK256, BLOCK512, BLOCK1024, BLOCK2048 } let num = BlockPrefab.BL
阅读全文
摘要:const animationComponent = i.addComponent(Animation); if(animationComponent){ const component = animationComponent.getComponent(Animation); if(compone
阅读全文
摘要:今天在开发过程中遇到深拷贝与浅拷贝的问题 const userData1: number[][] = this.dataMangager.getUserDataMap(); 该行代码中的userData1 是一个指向 this.dataMangager.getUserDataMap() 返回的二维数
阅读全文
摘要:出现这种情况一般为节点未成功创建
阅读全文
摘要:private _dataMap:Vec3[][] = []; private _userDataMap:number[][] = []; init() { for(let i = 1; i <= 4; i++){ for(let j = 1; j <= 4; j++){this._dataMap[
阅读全文

浙公网安备 33010602011771号