// 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); }
// Update is called once per frame void Update() { behaviourTree.Update(); }