Exemplo n.º 1
0
 private void Awake()
 {
     HexMetrics.noiseSource = noiseSource;
     HexMetrics.InitializeHashGrid(seed);
     HexUnit.unitPrefab = unitPrefab;
     cellShaderData     = gameObject.AddComponent <HexCellShaderData>();
     CreateMap(cellCountX, cellCountZ);
 }