Yeah, I'd like to get into more of the arcane bits, but as I said, a lot of this stuff isn't documented anywhere and is still in flux. There are some clues in some of the examples they've released, and I'll make walkthroughs for a number of those.
We can't have arrays in our normal components, and a single entity can't have multiple components of any particular type. So if you want an array, IBufferElementData is what you need. In cases where you feel like you want a component type to have an array in addition to non-array fields, the solution is to have two component types in place of just one: a regular component and a dynamic buffer array component. (The philosophy is: when in doubt, split components into smaller components.)
This is the best explanation of uinty ecs I ever seen. Thanks a lot !
This is the most informative ECS video i have seen, thank you very much !
i know I am kinda off topic but do anyone know a good place to stream new series online ?
@Damari Decker Flixportal
@Jairo Bjorn Thank you, I signed up and it seems to work =) I appreciate it !
@Damari Decker Happy to help =)
Very informative. I'm actually using this as an explanation on how to build an ECS.
Once again very concise and informative, thanks!
Ok so why the hell can't Unity Technologies just make a video like this?
Thank you so much.
really good explanations! would also be nice to cover persistence of those data and the flux between a world of simulation and a presentation one.
Yeah, I'd like to get into more of the arcane bits, but as I said, a lot of this stuff isn't documented anywhere and is still in flux. There are some clues in some of the examples they've released, and I'll make walkthroughs for a number of those.
When should I be using IBufferElementData Vs IComponentData?
We can't have arrays in our normal components, and a single entity can't have multiple components of any particular type. So if you want an array, IBufferElementData is what you need.
In cases where you feel like you want a component type to have an array in addition to non-array fields, the solution is to have two component types in place of just one: a regular component and a dynamic buffer array component. (The philosophy is: when in doubt, split components into smaller components.)
@@briantwill Makes a lot of sense, thank you. Big fan of your video format, looking forward to your future videos on DOTS.