particle system going wild
in my racing game i have the game set to have a particle system set to show up when i lose but what keeps happening is the particle system is is being instantiated 50 times per millisecond and i cant see the particle systems whats going on heres my script or scripts here is the part from the enemy script
{
if(laps==3)
{
Player.SendMessage("Loser");
}
and heres the player script
function Loser()
{
Instantiate(explosion, transform.position, transform.rotation);
print("you're a disgrace for letting this happen");
}
so could someone tell me whats going on
Answer by Nameless1995 · Apr 20, 2016 at 08:42 PM
Check if 'Play on awake' is ticked on the inspector for your explosion particle system.
Your answer
Follow this Question
Related Questions
Advice on Making Function Calls "Efficient" 1 Answer
Global variables are null within functions? 0 Answers
Any reason why global vars are null within certain functions? 0 Answers
Invoke function it is called only once 1 Answer
How do you create a generic function for custom types that are inherited from a generic class? C# 1 Answer