コード例 #1
0
    IEnumerator PlayCinematic()
    {
        if (timelinePlaybackManager != null)
        {
            timelinePlaybackManager.gameObject.SetActive(true);
            timelinePlaybackManager.PlayTimeline();
            Debug.Log("Comecou a tocar");
            yield return(new WaitWhile(() => timelinePlaybackManager.timelinePlaying));

            Debug.Log("Parou de tocar");
        }

        missao_checkpoints.IniciaMissao();
        missaoController.mudarMissao(ID);
        if (NPCPadrao != null)
        {
            NPCPadrao.moverNPC();
        }
    }
コード例 #2
0
 protected override void ImmediateReaction()
 {
     timelinePlaybackManager.PlayTimeline();
 }