test mesh
This commit is contained in:
@@ -53,6 +53,10 @@ public class FlatWorldGenerator : MonoBehaviour
|
||||
WorldManager.Instance.CreateChunk(chunkPos, data);
|
||||
}
|
||||
|
||||
// Перестраиваем все меши после создания всех чанков —
|
||||
// иначе граничные грани между соседними чанками не скрываются
|
||||
WorldManager.Instance.RebuildAllChunks();
|
||||
|
||||
Debug.Log($"[FlatWorldGenerator] Generated {chunksX * chunksZ} chunks.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user