Instantiating Particle System?

Hey, all,

I’ve run into a bit of a problem, and was wondering if anyone knows how to get around it -

I have built 2 prefabs which basically consist of Particle systems, and I want to duplicate these at various stages during my game.

I don’t want to have to go through the whole process of setting them up every time I want to create a new one, as it’s very long winded, but when I set up the initial ones, then try to instantiate the game objects, Unity says I can’t.

Is there any easy way to do this?

Cheers,

SB

Unity is probably telling you a bit more than “You can’t” when you’re attempting to instance your prefab. The actual error would be very helpful for us to figure out what you’re doing wrong.

In addition, post the code you’re using to spawn the prefab.