Hi there,
I’m using Unity 5.6.2f1 and I have a particle system that shoots particles in a hemisphere/ring from the center point, kind of like an explosion. When I preview the particle system in the editor, it seems to shoot around 20 particles from the center as expected. If I run my game and I click and drag the prefab into the scene, the same happens which is great. IF however I instantiate that same prefab using the following code:
GameObject BlueExplosion = Instantiate(BluePrefab, GetHitPoint, Quaternion.identity) as GameObject;
Then for some reason it looks like there are roughly 5-10 particles that shoot from the center, instead of the full amount. Any idea what could be causing this? I compared the two instantiations of the same prefab, the one that I click and drag into the scene and the one that I instantiate with the code and as far as I can tell they’re identical. Same position, same particle settings and so forth. It’s the same prefab, just the method used on how to spawn it is different. Any idea what I’m doing wrong?
Thanks in advance!