I am trying to make a simple shump game with ECS. I have already written a SpawnSystem and assign a prefab to it, it works fine.The question is my plane was made of serveral cube and particle system. After the conversion(gameobject to entity), the particle system is all missing. Is anyone have any idea how to do it right?
How to use Particle System in ECS?
Code (CSharp):
- namespace Shump
- {
- [Serializable]
- public struct SpawnInPoint : ISharedComponentData
- {
- public Entity Prefab;
- }...