Пример #1
0
    IEnumerator FadeOutRoutine(FadeCallBack fadeCallBack)
    {
        isFading = true;
        yield return(UIAnimator.Color(coverObj, Vector4.zero, Color.black, fadeSpeed * 2));

        fadeCallBack();
    }
Пример #2
0
    private void Start()
    {
        gm = GameManager.Instance();

        StartCoroutine(UIAnimator.Color(coverObj, Color.black, Vector4.zero, fadeSpeed));
    }