{
if (StrtPos == Vector3.zero)
{
for(int x = -radius; x < radius; x++)
{
for (int z = -radius; x < radius; z++)
{
Vector3 pos = new Vector3((x * planeOffset + XplayerLocal), 0, (z * planeOffset + ZplayerLocal));
if (!ChunksPlane.Contains(pos))
{
GameObject _plane = Instantiate(plane, pos, Quaternion.identity);
ChunksPlane.Add(pos, _plane);
}
}
}
}