A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
And this implemetation: public CD1 GetSingleton<CD1, CD2>() where CD1 : struct, IComponentData where CD2 : struct, IComponentData {...
I don't get those singleton queries, why do you query singletons by multiple types?
Yeah, it is hard to find resources for this stuff, all is new and rapidly changing. Anyways, I am glad you have it resolved.
Maybe you have to have ConvertToEntity script put on some game object that is ancestor in heirarchy to the game objects you are trying to convert?...
Something like this: [RequiresEntityConversion] public class MoverProxy : MonoBehaviour, IConvertGameObjectToEntity, IDeclareReferencedPrefabs {...
[MEDIA] Sorry, I couldn't help myself :) Ok 5argon, I really don't see any advantages in your testing workflow, but maybe it fits to the project...
But if there will be let's say 10 systems that affect position, how can you make an assertion? How will you calculate the expected position for...
And now you will add the "TurboSystem", that will cause that the car's position at the end of the frame will be different and your test will fail....
It is hard to eat soup with the knife, but that's not knife's fault :)
NOTHING could cause trouble to the system I am testing. For instance my system expects two components X and Y as an input and produces component...
But this isn't unit testing. Unit testing is about testing the smallest testable unit and in the case of ECS this is usually the system. With your...
@5argon Why are you adding all the systems in your ECS test base class? By my opinion ECS test should test (and use) just one system, not more....
What C++ modules should I install to VS? The default ones are like 4.6 GB. That's quite much for a project calling itself "tiny".
Yes @tertle , that is possible. But I would like to have it implemented in the framework. I actually stopped working on my ecs game a few months...
Can we get something similar for DynamicBuffer?
From your first post I would say you understand the problem. Yes, the bigger ComponentData is, the less of them will fit to the cache. The...
No need to use ECSTestsFixture, you can just make your own similar base test class.
This is a great article, it explains everything very well. It should be the first article people read about ECS. Thank you!
The best you can do for your mental health is to forget about ECS for a next year or so. Unity released ECS very soon and it is probably good, but...
Just be careful when using the remainder operator on negative numbers, it will give incorrect result. EDIT: OP is using values as array indices,...