FixedArrayArray in Groups

Hello,

So ive looked into the Unite Austin Technical preview navigation components and saw that they use a system which gets following data injected.

But where does that FixedArrayArray come from? Do I have to specify it somewhere?

You can add a FixedArray to an entity using the below.

entityManager.AddComponent(entity, ComponentType.FixedArray(typeof(PolygonId), 10) );

Your entity group returns a FixedArrayArray- basically an Array of FixedArrays for all the matching entities.

2 Likes