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

        mgr.SetBlurBrightness(1f);
        mgr.SetBlurDesaturation(0f);
        mgr.Vignette(0.4f, 0.4f, iTween.EaseType.easeOutCirc, null);
        mgr.Blur(1f, 0.4f, iTween.EaseType.easeOutCirc, null);
    }
Esempio n. 2
0
    private void FadeFullscreenEffectsIn()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        if (mgr == null)
        {
            Debug.LogWarning("AdventureCompleteReward: FullScreenFXMgr.Get() returned null!");
        }
        else
        {
            mgr.SetBlurBrightness(0.85f);
            mgr.SetBlurDesaturation(0f);
            mgr.Vignette(0.4f, 0.5f, iTween.EaseType.easeOutCirc, null);
            mgr.Blur(1f, 0.5f, iTween.EaseType.easeOutCirc, null);
        }
    }
Esempio n. 3
0
    private void FadeFullscreenEffectsIn()
    {
        FullScreenFXMgr mgr = FullScreenFXMgr.Get();

        if (mgr == null)
        {
            UnityEngine.Debug.LogWarning("RewardBoxesDisplay: FullScreenFXMgr.Get() returned null!");
        }
        else
        {
            mgr.SetBlurBrightness(0.85f);
            mgr.SetBlurDesaturation(0f);
            mgr.Vignette(0.4f, 0.5f, iTween.EaseType.easeOutCirc, null);
            mgr.Blur(1f, 0.5f, iTween.EaseType.easeOutCirc, null);
            if (this.m_useDarkeningClickCatcher)
            {
                iTween.FadeTo(this.m_ClickCatcher, 0.75f, 0.5f);
            }
        }
    }