hch
2025-08-15 7bd85eb8d0b9664f4645534b42c82ab0f32754d3
Main/Component/UI/Effect/EffectPlayer.cs
@@ -51,6 +51,7 @@
    protected EffectPenetrationBlocker blocker = null;
    protected bool isInit = false;
    protected bool isPlaying = false;
    protected List<ParticleSystem> particleList = new List<ParticleSystem>();
@@ -69,8 +70,11 @@
    {
        if (spineComp != null)
        {
            //隐藏,会有静态显示问题
            spineComp.enabled = false;
            if (!isPlaying)
            {
                //隐藏,会有静态显示问题
                spineComp.enabled = false;
            }
        }
    }
@@ -127,9 +131,12 @@
            }
            effectTarget = null;
        }
        if (spineComp != null)
        {
            spineComp.enabled = false;
        }
        isInit = false;
        isPlaying = false;
        Clear();
        onComplete?.Invoke();
    }
@@ -271,6 +278,7 @@
        if (isReleaseImmediately)
        {
            spineComp.enabled = false;
            isPlaying = false;
            Stop();
        }
    }