Collections in IComponentData

Is there a chance that I could covert those ugly Phases (Phase1, Phase2, …) into some collection?

public class RotatorComponent : ComponentDataWrapper<Rotator>
{
}

[Serializable]
public struct Rotator : IComponentData
{
    public Phase Phase1;
    public Phase Phase2;
    public Phase Phase3;
    public Phase Phase4;
}

[Serializable]
public struct Phase
{
    public float Length;
    public float StartValue;
    public float EndValue;
}

Arrays coming soon… that means it is currently impossible

Yeah, I have seen the video, but things are changing fast, so I thought I will ask. Anyways thanks for the confirmation.

This talk is definitely good.
Atm, you can use entities, to store certain data types as arrays.

That would probably cause problems with ordering, I will better wait for some official solution.