public void Execute() { Walk(); locatorTimer += Time.deltaTime; if (locatorTimer > difficultyUtils.locateAfter) { enemy.LocatePlayer(); locatorTimer = 0; } enemy.Move(); }