UnityEditor.ParticleSystemEditorUtils.StopEffect C# (CSharp) Method

StopEffect() private method

private StopEffect ( ) : void
return void
        internal static void StopEffect()
        {
            bool clear = true;
            bool stop = true;
            StopEffect(stop, clear);
        }

Same methods

ParticleSystemEditorUtils::StopEffect ( [ stop, [ clear ) : void
ParticleSystemEditorUtils::StopEffect ( bool stop ) : void

Usage Example

 internal void Stop()
 {
     ParticleSystemEditorUtils.editorIsScrubbing  = false;
     ParticleSystemEditorUtils.editorPlaybackTime = 0f;
     ParticleSystemEditorUtils.StopEffect();
     this.m_Owner.Repaint();
 }
All Usage Examples Of UnityEditor.ParticleSystemEditorUtils::StopEffect