public override State Next() { State res = this; if (_tutoCarrot == null) { res = new TutorialStateMoveHere(_stateMachine, GameObject.Find("TutoPassage3").transform.position, "Entrez dans la cabane", true); } return(res); }
public TutorialStateMachine() : base(null) { _current = new TutorialStateMoveHere(this, GameObject.Find("TutoPassage1").transform.position, "Déplacez vous jusqu'à la flèche", false); }