Open YimiCGH opened 4 years ago
https://yimicgh.top/%E7%BF%BB%E8%AF%91/ECS-06-EntityQuery/
Table of Contents EntityQuery EntityQuery 读取或写入数据的前提是找到该数据。ECS框架中的数据存储在组件中,这些组件根据它们所属原型在内存中分组到一起。要定义你的ECS数据视图仅包含指定数据,来给你的算法或流程使用,你需要使用EntityQuery结构。
https://yimicgh.top/%E7%BF%BB%E8%AF%91/ECS-06-EntityQuery/
Table of Contents EntityQuery EntityQuery 读取或写入数据的前提是找到该数据。ECS框架中的数据存储在组件中,这些组件根据它们所属原型在内存中分组到一起。要定义你的ECS数据视图仅包含指定数据,来给你的算法或流程使用,你需要使用EntityQuery结构。