Unity3D - Replay a non-looping Particle System

后端 未结 3 1535
借酒劲吻你
借酒劲吻你 2021-01-23 05:28

I\'m following the Survive Shooter Unity3D tutorial and have come across several inconsistencies between the Unite Day presentation and actual behavior in Unity 5.3, such as ani

3条回答
  •  北海茫月
    2021-01-23 06:10

    If you need to reset immediately Particle system and repeat it (For example Rifle barel explosion) I would recommend you this:

    ShootParticles.Simulate( 0.0f, true, true );
    ShootParticles.Play();
    

提交回复
热议问题