// Use this for initialization void Start() { m_particleSpawner = gameObject.GetComponent <ParticleSpawner>(); }