hi, I have a problem with my “WIN” particule. The particule doesn’t want to work when the game object hits the “win” platform.
the particule code:
switch (collision.gameObject.tag)
{
case "DANGER!":
Situation = PlayerSituation.Died;
Thrust.Stop();
Fail.Emit(10000);
AS.Stop();
AS.PlayOneShot(Explosion);
break;
case "WIN":
Win.Play(); // activation of the win particule.//
break;
}
ps: I put the debug.log() and nothing happened in the inspector and I add the “WIN” tag.