Exemplo n.º 1
0
    public void CloseTitle()
    {
        if (!animation.gameObject.activeSelf)
        {
            return;
        }

        animation.SetOnFinished(() => {
            titleImg.gameObject.SetActive(false);
        });
        animation.StandbyAnimation(false);
        animation.Play();
    }
Exemplo n.º 2
0
    public IEnumerator Setup()
    {
        yield return(anounceManaUI.Setup());

        yield return(commandUI.Setup());

        commandUI.SetOnFinished(() => missionAnnounceUI.Play());
        yield return(missionAnnounceUI.Setup());

        missionAnnounceUI.SetOnFinished(() => { if (isOpen)
                                                {
                                                    changeViewBtn.Play();
                                                }
                                        });
        yield return(changeViewBtn.Setup());

        changeViewBtn.SetOnFinished(() => isPlay = false);
        yield break;
    }