Hi,
Good job so far! 
Particle System components work on active game objects only. For testing purposes, comment out crashEffect.gameObject.SetActive(false); to see if the particles get emitted.
See also:
- Forum User Guides : How to apply code formatting within your post
- Forum User Guides : How to mark a topic as solved