Exemple #1
0
    protected override void Start()
    {
        base.Start();

        // Initialize AI behaviour (this will launch the AI)
        this.behaviour = ExampleAI.Initialize(this);
    }
Exemple #2
0
    protected override void Awake()
    {
        base.Awake();

        instance = this;
    }
Exemple #3
0
 public ExampleIdle(string stateID, ExampleAI exampleAI) : base(stateID)
 {
     this.exampleAI = exampleAI;
 }