// Use this for initialization void Start() { controller = GetComponent <Controller_AI>(); thisState = states.Patrol; lastHealthTotal = controller.data.healthCurrent; }
// Use this for initialization void Start() { controller = GetComponent <Controller_AI>(); // Set mesh color to blue currentState = states.patrol; healthLastKnown = controller.data.healthCurrent; }
// Use this for initialization void Start() { controller = GetComponent <Controller_AI>(); // Set mesh color to blue currentState = states.patrol; }
// Use this for initialization //When the game starts it gets the AI controller,sets the current state to patrol and gets the last known health. void Start() { controller = GetComponent <Controller_AI>(); currentState = states.patrol; healthLastKnown = controller.data.healthCurrent; }
// Use this for initialization void Start() { controller = GetComponent <Controller_AI>(); currentState = states.patrol; }
// Use this for initialization void Start() { controller = GetComponent <Controller_AI>(); thisState = states.Patrol; }