Example #1
0
    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);
    }
Example #2
0
 public TutorialStateMachine() : base(null)
 {
     _current = new TutorialStateMoveHere(this, GameObject.Find("TutoPassage1").transform.position, "Déplacez vous jusqu'à la flèche", false);
 }