Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to use Particle System in ECS?

$
0
0
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?

Code (CSharp):
  1.            
  2. namespace Shump
  3. {
  4.     [Serializable]
  5.     public struct SpawnInPoint : ISharedComponentData
  6.     {
  7.         public Entity Prefab;
  8.     }...
How to use Particle System in ECS?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>