void Start() { pointChangeCal = Random.Range(1, 10); pathFinding.SetPoints(); pointsOfIntrest = pathFinding.pointsOfIntrest; closestPoint = pointsOfIntrest.Count - 1; point = pathFinding.pointsOfIntrest[0]; GetEnemies(); }
void Start() { pointChangeCal = Random.Range(1, 10); pathFinding.SetPoints(); pointsOfIntrest = pathFinding.pointsOfIntrest; closestPoint = pointsOfIntrest.Count - 1; point = pathFinding.pointsOfIntrest[0]; GetEnemies(); }