Ejemplo n.º 1
0
        } //END ForceHide

        //---------------------------------------//
        public override void Show()
        //---------------------------------------//
        {
            base.Show();

            if( uiColorTweenManager != null && uiColorTweenManager.tweeners.Count > 0 )
            {
                uiColorTweenManager.PlayAlpha( 1f, 1f );
            }

        } //END Show
Ejemplo n.º 2
0
        } //END Show

        //---------------------------------------//
        public void Hide( float fadeSpeed, float delay, EaseCurve.EaseType easeCurve, UnityEvent onCompleteFunction )
        //---------------------------------------// 
        {

            if( showDebug ) { Debug.Log( "ScreenFadeManager.cs Hide( onComplete ) " + onCompleteFunction.ToString() ); }

            if( uiColorTweenManager_ScreenFader != null )
            {
                uiColorTweenManager_ScreenFader.PlayAlpha( 0f, fadeSpeed, delay, easeCurve, onCompleteFunction );
            }

        } //END Hide