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
的支持
https://github.com/google/flatbuffers/commit/129ef422e8a4e89d87a7216a865602673a6d0bf3