public override void FindHive(HiveController foundedHive)
 {
     //if(Vector3.Distance(transform.position,foundedHive.transform.position)<=eyesight)
     //{
         if (foundedHive.hiveFraction!=fraction)
         {
             //Debug.Log("SOLDIER ATTACKS HIVE");
             foundedHive.GetCaptured(fraction,damage,hive.antColor);
             wasAlienHiveFound = true;
         } else if(foundedHive.currentHealth<foundedHive.healthToCapture)
             {
                 Debug.Log("SOLDIER REPAIRS HIVE");
                 foundedHive.GetCaptured(fraction,repair,hive.antColor);
                 wasAlienHiveFound = true;
             } else if(foundedHive != hive)
             {
                 Debug.Log(unitType + " CHANGED HIVE");
                 hive.ChangeUnits(-1);
                 hive = foundedHive;
                 hive.ChangeUnits(1);
                 transform.parent = hive.transform;
                 TimeToExplore ();
             }
     //}
 }