void OnFadeOut() { if (!m_Active) { return; } UIEffectTools.FadeIn(gameObject, m_Duration, 1, OnFadeIn); }
public void Stop(float alpha) { if (!m_Active) { return; } m_Active = false; UIEffectTools.FadeStop(gameObject); UIEffectTools.FadeIn(gameObject, 0, alpha, null); }