public void EndStep() { foreach (Animator animator in animatorsToPlayWhileResolving) { animator.SetInteger("Tuto", animator.GetInteger("Tuto") + 1); } currentPhase = TutorialStepPhase.Ended; GameManager.gameManager.Player.PlrInterface.ChangeCompetencesAvailability(CompetencesUsabilityType.All); }
public void StartStepResolution() { currentPhase = TutorialStepPhase.Resolution; if (stopThePlayerOnIntro) { GameManager.gameManager.Player.ShipMvt.StartShip(); } foreach (Animator animator in animatorsToPlayInIntro) { animator.SetInteger("Tuto", animator.GetInteger("Tuto") + 1); } foreach (Animator animator in animatorsToPlayWhileResolving) { animator.SetInteger("Tuto", animator.GetInteger("Tuto") + 1); } StartResolutionEvent.Invoke(); }
public void PlayStepIntro() { currentPhase = TutorialStepPhase.Intro; foreach (Animator animator in animatorsToPlayInIntro) { animator.SetInteger("Tuto", animator.GetInteger("Tuto") + 1); } if (stopThePlayerOnIntro) { GameManager.gameManager.Player.ShipMvt.StopShip(); } if (introCinematic != null) { introCinematic.PlayCinematic(); } else { StartStepResolution(); } }