//public Vector3 forward = Vector3.forward;

    void Start()
    {
        spawnPS = transform.parent.GetComponent <SpawnParticleSystem>();
    }
 // Use this for initialization
 void Start()
 {
     PS = GetComponent <SpawnParticleSystem>();
 }