private void SetNewParameters(HexMapParameters parameters) { width = parameters.width; height = parameters.height; hexRadius = parameters.hexRadius; dstBetweenHexes = parameters.dstBetweenHexes; }
public HexMap(HexMapParameters new_parameters, BiomeParameters[] new_biomeParameters, Transform new_hexParent, GameObject new_hexTransformRefrence) { hexTransformRefrence = new_hexTransformRefrence; biomeParameters = new_biomeParameters; SetNewParameters(new_parameters); hexParent = new_hexParent; }