void Start()
 {
     flowMap = GetComponent <FlowMap>();
     flowMap.calcDistToTarget(goal.position);
 }
 private void Update()
 {
     flowMap.calcDistToTarget(goal.position);
 }