Question by
Thegameboy · Oct 18, 2019 at 05:02 AM ·
unity 5unity 2dtop down shooter
Unity2d particle system
Hello guys,i am trying to instantiate a particle effect in my 2d top down game where the character fires a flamethrower,but when i am instantiating it,its is instantiating in the direction of z and not showing in front of background image. here is my code -- if (Input.GetButtonDown("Fire1")) { PrimaryShoot(); GameObject gObject = Instantiate(flamethrower,transform.position,transform.rotation) as GameObject; Destroy(gObject, 10);
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612213604im_/https://answers.unity.com/themes/thub/images/avi.jpg)