[Add] Voxel World Generator

This commit is contained in:
2026-03-31 09:02:06 +07:00
parent c22c08753a
commit 122d7e55c2
58 changed files with 3942 additions and 2037 deletions
+533
View File
@@ -0,0 +1,533 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bae8eeae2da7d3f4396883671b297a47, type: 3}
m_Name: ChunkTemplate
m_EditorClassIdentifier: Assembly-CSharp::InfiniteWorld.ChunkTemplate
width: 16
height: 16
exitTop: 1
exitRight: 1
exitBottom: 1
exitLeft: 1
cells:
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 1
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 1
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 0
- wall: 0
environment: 0
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 1
- wall: 0
environment: 0
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7b81ed0cda0a7d4468d5d9eba5be92dd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+27
View File
@@ -0,0 +1,27 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3ad70174b079c2f4ebc7931d3dd1af6f, type: 3}
m_Name: DefaultPrefabObjects
m_EditorClassIdentifier: FishNet.Runtime::FishNet.Managing.Object.DefaultPrefabObjects
_prefabs:
- {fileID: 4512293259955182956, guid: fe2b65b02f0484b41aa8cfa9fbbb0e1d, type: 3}
- {fileID: 4512293259955182956, guid: 35639798ad77fc145871588b25d66259, type: 3}
- {fileID: 4512293259955182956, guid: 0d6d0f48b03b17f49a6340103cd9b9d0, type: 3}
- {fileID: 8475222101369129519, guid: 8cf33e8e99a9b0c4c8f29ff725650de6, type: 3}
- {fileID: 4512293259955182956, guid: dafef736ca1ae384e9a19eb672843563, type: 3}
- {fileID: 201277550, guid: 5b712878ecece354ba4ffb026c0a221c, type: 3}
- {fileID: 4512293259955182956, guid: b8017cef39731ba439c70fecc09488e3, type: 3}
- {fileID: 201277550, guid: 26a567abbe21227428f5c3d309d1d73c, type: 3}
- {fileID: 4512293259955182956, guid: 44611030e61220d42ab7c37ba3c0ea92, type: 3}
- {fileID: 8192566354860284824, guid: 6331b3542e64a564c81bc39cedf70c8d, type: 3}
- {fileID: 4512293259955182956, guid: f32d4c19de900e64cb73cedcb8ba6f70, type: 3}
- {fileID: 611616139817875448, guid: bf5f023b4017a5e41a9815ec5745df3d, type: 3}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 84148460c5f94a24282a444e7d59caa0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+18
View File
@@ -0,0 +1,18 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 0}
m_Name: VoxelBiomeProfile 1
m_EditorClassIdentifier: VoxelWorld.Runtime:InfiniteWorld.VoxelWorld:VoxelBiomeProfile
cliffTopSprite: {fileID: 3392429205621607710, guid: 48c8cb6b6e758e74e852e27073d0e263, type: 3}
cliffSideSprite: {fileID: -5744119150125800539, guid: f4c696ca947bbaf4ba5a27cc0f6a2cb8, type: 3}
dirtSprite: {fileID: -4783801984881171517, guid: 841a59b6af0505448b39ad06ddbc067f, type: 3}
walkableSurfaceSprite: {fileID: 4360390788417139489, guid: 5f3d8f393d5c64b489163ff940369b2d, type: 3}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: eac8d825dd62e1c439235d273a4ca613
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+18
View File
@@ -0,0 +1,18 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 0}
m_Name: VoxelBiomeProfile 2
m_EditorClassIdentifier: VoxelWorld.Runtime:InfiniteWorld.VoxelWorld:VoxelBiomeProfile
cliffTopSprite: {fileID: 904681902854485019, guid: 3d70b2fe747c8134c8a38cc0e089d139, type: 3}
cliffSideSprite: {fileID: -1499911416505331838, guid: 0891183432730d34c8a41445947b6e85, type: 3}
dirtSprite: {fileID: -1865540202983660084, guid: 152cabc665e467d448f550899fcd56e8, type: 3}
walkableSurfaceSprite: {fileID: 5634026908348037240, guid: e5bbac025bbdb444ab5b16d34a3f38de, type: 3}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6d0dbe510ed048440a3925ef40aeeb5b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+18
View File
@@ -0,0 +1,18 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 0}
m_Name: VoxelBiomeProfile
m_EditorClassIdentifier: VoxelWorld.Runtime:InfiniteWorld.VoxelWorld:VoxelBiomeProfile
cliffTopSprite: {fileID: 5725184139431673129, guid: d8a251553db3e5d43ac029f301167578, type: 3}
cliffSideSprite: {fileID: 8591976868863569928, guid: b44be66700acb8d4ba360bdeb7c0bf2f, type: 3}
dirtSprite: {fileID: 4285751004304663802, guid: 89b3d97a04bee1e4d85e5d28c13de1f8, type: 3}
walkableSurfaceSprite: {fileID: 5613978133511580594, guid: 5702a47030ece9f42b0b513238c05bf4, type: 3}
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ae25f699f7f7d4144bbd148907fda668
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+33
View File
@@ -0,0 +1,33 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e36b055e81273a54c8e736e2ef74fa50, type: 3}
m_Name: WorldAutotileProfile
m_EditorClassIdentifier: Assembly-CSharp::InfiniteWorld.WorldAutotileProfile
autoUpdatePaletteLayout: 1
autoRefreshGeneratedWorld: 1
baseGroundTile: {fileID: 11400000, guid: 1b38591c96c9fe1438fea88645b98a41, type: 2}
wallTiles:
center: {fileID: 11400000, guid: 713ec8ff4a309784eba7ea88b7457669, type: 2}
top: {fileID: 11400000, guid: b5cfb771eb6101240b093999b99fc473, type: 2}
right: {fileID: 11400000, guid: 29b9363549c8cc4429d9fbb7213b8563, type: 2}
bottom: {fileID: 11400000, guid: b9f53c50a59c33f4fa7bab1a3920344b, type: 2}
left: {fileID: 11400000, guid: 4863e6e00f95f73488ef648695bd5e75, type: 2}
outerTopLeft: {fileID: 11400000, guid: a5a2cf14bb9c7f34caf4da6c64d63518, type: 2}
outerTopRight: {fileID: 11400000, guid: beb1a6a9bd16d164687f4385d17bfb40, type: 2}
outerBottomRight: {fileID: 11400000, guid: 9439ca77b1904fd4aa4db0998ae75789, type: 2}
outerBottomLeft: {fileID: 11400000, guid: e0f8319bee70c66408939faa15001dce, type: 2}
innerTopLeft: {fileID: 11400000, guid: 700ff9913ced0d44398098338434403d, type: 2}
innerTopRight: {fileID: 11400000, guid: 6012404f47cddfe4b8e59eb8e40cf637, type: 2}
innerBottomRight: {fileID: 11400000, guid: 6e660d46a0c887242a9a90495a954311, type: 2}
innerBottomLeft: {fileID: 11400000, guid: 96184d199569aea46bdb6e3d5a7fa1f6, type: 2}
environmentTiles: []
randomPrefabs: []
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0f4446a72229fc343a954821a70fefac
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: