| 782 | } |
| 783 | |
| 784 | void ParticleEffect::EndPlay() |
| 785 | { |
| 786 | #if USE_EDITOR |
| 787 | OnParticleEmittersClear(); |
| 788 | #endif |
| 789 | CacheModifiedParameters(); |
| 790 | Particles::OnEffectDestroy(this); |
| 791 | Instance.ClearState(); |
| 792 | _parameters.Clear(); |
| 793 | _parametersVersion = 0; |
| 794 | |
| 795 | // Base |
| 796 | Actor::EndPlay(); |
| 797 | } |
| 798 | |
| 799 | void ParticleEffect::OnEnable() |
| 800 | { |
nothing calls this directly
no test coverage detected