Exemple #1
0
        private IEnumerator Cutscene1()
        {
            yield return(new WaitForEndOfFrame());

            Character.DisableControl();
            SetCameraTarget(CS1Params.Monolith.transform.GetChild(0)); // TODO: won't work later
            yield return(new WaitForSeconds(2f));

            yield return(new WaitForSeconds(SetPlayerCamera()));

            Character.EnableControl();
        }