Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     behaviourTree.Update();
     //If it's in the charging station I don't want him to lose energy
     if (!charging)
     {
         energy -= Time.deltaTime;
     }
     Debug.Log(activeStates);
 }
Exemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     behaviourTree.Update();
 }