But the problem is… i want to create a Particle System, soh what can i do to instantiate a new particle system??? i know that obj variable in the function must to be an configurated Particle system but how can i do that??
create a prefab, drop your particle system on it, then in your script create a variable to hold the prefab and drop the prefab on the variable in the inspector view
but that’s the point, i dont want a static variable with one prefab, i have the script with one search to select the prefab and put it on the variable, so i need the script (c#) to let me create a new object of this prefab with that variable. understand?
Another way if it’s more easy… you can show me how can i create a Particle System with one variable to use it in the game. The objective is do something like a capsule who falling from a weapon in a shot. It’s just appear with a click.