Exemplo n.º 1
0
    public void Action(GameObject cameraBase)
    {
        if (acting)
        {
            return;
        }

        fad = GameObject.FindObjectOfType <FadeInOutManager>();
        if (fad)
        {
            if (fad.FadeOut())
            {
                fad.OnFadeOutEnd += FadeEndAction;

                SEManager se = GameObject.FindObjectOfType <SEManager>();
                if (se)
                {
                    se.PlayBtnSE();
                }

                acting = true;
            }
        }
    }