Instantiating Particles System prefabs don't take into consideration rotation

If I instantiate a prefab for particles system, it doesn’t take into consideration the rotation that I prefab’d the particles as. It appears to always be instantiating it with rotation being 0.

How can I fix it?

I figured it out. Instead of Quanterion.Identity I used myPrefab.transform.rotation