YimiCGH / YimiCGH.github.io

My Blog
https://yimicgh.top/
MIT License
0 stars 0 forks source link

Unity ECS 研究 06 —— 实体查询 | Yimi的小天地 #47

Open YimiCGH opened 4 years ago

YimiCGH commented 4 years ago

https://yimicgh.top/%E7%BF%BB%E8%AF%91/ECS-06-EntityQuery/

Table of Contents EntityQuery EntityQuery 读取或写入数据的前提是找到该数据。ECS框架中的数据存储在组件中,这些组件根据它们所属原型在内存中分组到一起。要定义你的ECS数据视图仅包含指定数据,来给你的算法或流程使用,你需要使用EntityQuery结构。