- 博客(7)
- 收藏
- 关注
原创 SpriteAtlasV2踩坑
SpriteAtlasV2踩坑在使用v2版本图集的情况下, 从bundle里直接加载sprite, iOS平台无法拿到正确的sprite.uv数据可以手动加载图集, 然后通过GetSprite()的方法正确获取数据, 但是这个api有额外GC
2024-10-12 14:49:48
310
原创 游戏项目中常用的数据结构总结
内置类型: array, dict, listLinkedNode: 实现了IRecycle的Node节点, 头尾两个指针unsafe struct UnsafeStructBuffer: 容器内部储存byte[]的地方基于LinkedNode实现的无gc环形链表, 无gc栈等。
2024-05-28 14:16:47
308
原创 【Unity Xcode Mac pod command not found】
Unity MacOS 混合开发 pod : command not found
2022-11-17 18:41:25
946
原创 【Bundle包指针越界 Position out of bounds】
Mismatched serialization in the builtin class ‘AssetBundle’. The file ‘archive:/CAB-xxxxxx/CAB-xxxxxx’ is corrupted! Remove it and launch unity again! [Position out of bounds!]
2022-08-11 23:31:57
1782
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人