Пример #1
0
    public override void Renew()
    {
        m_beatInfoManager.SetActive(true);
        ResetCreature();

        videoPlayer.Play();
        creature.FadeIn(1f, null);

        base.Renew();
    }
Пример #2
0
    public override void Renew()
    {
        m_beatInfoManager.SetActive(true);
        if (!TitleQueued)
        {
            m_titlePlane.SetVideoTexture(m_titleTextures[0]);
        }
        StartCoroutine(ReefHelper.FadeNormalized(ReefHelper.FadeType.In, 3f,
                                                 (x) => m_titlePlane.PlaneMaterial.SetFloat("_Alpha", x),
                                                 null));

        // call renew during fade
        base.Renew();
    }
Пример #3
0
    public override void Renew()
    {
        m_beatInfoManager.SetActive(true);
        ResetCreatures();

        foreach (VideoPlayer vp in videoPlayers)
        {
            vp.Play();
        }

        foreach (Creature c in creatures)
        {
            c.FadeIn(1f, null);
            c.StartMovement();
        }
        base.Renew();
    }