August 2018
Beginner
334 pages
10h 19m
English
This recipe is broken down into implementing three classes from the ground up. Don't worry, everything will make sense by the final step:
public class Condition
{
public virtual bool Test()
{
return false;
}
}
public class Transition
{
public Condition condition;
public State target;
}
using UnityEngine;
using System.Collections.Generic;
public class State : MonoBehaviour
{
public List<Transition> transitions;
}
Read now
Unlock full access