示例#1
0
 private void SetNewParameters(HexMapParameters parameters)
 {
     width           = parameters.width;
     height          = parameters.height;
     hexRadius       = parameters.hexRadius;
     dstBetweenHexes = parameters.dstBetweenHexes;
 }
示例#2
0
 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;
 }