Example #1
0
    protected override bool EvaluateConclusion()
    {
        Vector3 fadeRGB = Vector3.zero;

        if (!waitTillFaded)
        {
            return(fadeRequested);
        }
        else
        {
            if (fadeRequested && (stageComponent != null))
            {
                if (fadeOut)
                {
                    fadeCompleted = !stageComponent.RequestingFadeOut(ref fadeRGB);
                }
                else
                {
                    fadeCompleted = !stageComponent.RequestingFadeIn();
                }
            }
        }
        return(fadeCompleted);
    }