非常强大的序列化和反序列化库(主要用来加载配置表[lazy+offset])
December 22, 2023 · View on GitHub
FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.
该库主要服务于 https://github.com/AlianBlank/GameFrameX 作为子库使用。
使用方式(三种方式)
-
直接在
manifest.json文件中添加以下内容{"com.google.flatbuffers": "https://github.com/AlianBlank/com.google.flatbuffers.git"} -
在Unity 的
Packages Manager中使用Git URL的方式添加库,地址为:https://github.com/AlianBlank/com.google.flatbuffers.git -
直接下载仓库放置到Unity 项目的
Packages目录下。会自动加载识别
改动功能
- 增加
Packages的支持 - 增加
link.xml的支持
当前版本 23.5.26
同步版本
https://github.com/google/flatbuffers/commit/129ef422e8a4e89d87a7216a865602673a6d0bf3