private void FadeEffectsOut()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        mgr.StopVignette(0.2f, iTween.EaseType.easeOutCirc, null);
        mgr.StopBlur(0.2f, iTween.EaseType.easeOutCirc, null);
    }
    private void FadeEffectsOut()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        mgr.StopVignette(0.2f, iTween.EaseType.easeOutCirc, new FullScreenFXMgr.EffectListener(this.OnVignetteFinished));
        mgr.StopBlur(0.2f, iTween.EaseType.easeOutCirc, null);
    }
    private void HideRewardCard()
    {
        iTween.ScaleTo(this.m_RewardBone, new Vector3(0.1f, 0.1f, 0.1f), 0.2f);
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        mgr.StopVignette(0.2f, iTween.EaseType.easeOutCirc, null);
        mgr.StopBlur(0.2f, iTween.EaseType.easeOutCirc, new FullScreenFXMgr.EffectListener(this.EffectFadeOutFinished));
    }
    private void FadeEffectsOut()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        if (mgr != null)
        {
            mgr.StopVignette(0.2f, iTween.EaseType.easeOutCirc, null);
            mgr.StopBlur(0.2f, iTween.EaseType.easeOutCirc, null);
        }
        this.ScaleAway();
    }
Example #5
0
    private void FadeFullscreenEffectsOut()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        if (mgr == null)
        {
            Debug.LogWarning("AdventureCompleteReward: FullScreenFXMgr.Get() returned null!");
        }
        else
        {
            mgr.StopVignette(1f, iTween.EaseType.easeOutCirc, new FullScreenFXMgr.EffectListener(this.DestroyThis));
            mgr.StopBlur(1f, iTween.EaseType.easeOutCirc, null);
        }
    }
Example #6
0
    private void FadeFullscreenEffectsOut()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        if (mgr == null)
        {
            UnityEngine.Debug.LogWarning("RewardBoxesDisplay: FullScreenFXMgr.Get() returned null!");
        }
        else
        {
            mgr.StopVignette(2f, iTween.EaseType.easeOutCirc, new FullScreenFXMgr.EffectListener(this.FadeFullscreenEffectsOutFinished));
            mgr.StopBlur(2f, iTween.EaseType.easeOutCirc, null);
            if (this.m_useDarkeningClickCatcher)
            {
                iTween.FadeTo(this.m_ClickCatcher, 0f, 0.5f);
            }
        }
    }