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(); } }
protected override void ImmediateReaction() { timelinePlaybackManager.PlayTimeline(); }