готовый генератор комнат

This commit is contained in:
vladislove committed 2026-10-09 01:41:25 +03:00
1 parent 9519be076f
commit 650af515e9
12 files changed
+770 -273

No files matched your search

+7 -4
View File
@@ -10550,7 +10550,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &552049569
Transform:
m_ObjectHideFlags: 0
@@ -13843,19 +13843,22 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::_Project.Scripts.LevelGenerating.WallsGenerator
floorsCount: 10
lengthWallMin: 20
lengthWallMax: 40
lengthWallMax: 70
lengthStartRoom: 10
lengthLiftRoom: 10
widthLiftRoom: 5
lengthFloor: 100
corridorLength: 5
corridorWigth: 4
_minDepthLiftRoom: 7
minRoomCount: 7
_minDepthLiftRoom: 5
_minDistanceStartLift: 50
GameObjectA: {fileID: 8066171868259172852, guid: e46748b8eb8a6074d9bb87701cebe84b, type: 3}
GameObjectB: {fileID: 4641718306729093824, guid: 3905eab8a5f6b3049a83378b1acf1ebc, type: 3}
maxRooms: 15
branchChance: 0.7
roomMargin: 2
liftDoorAnyPosition: 1
--- !u!4 &740097205
Transform:
m_ObjectHideFlags: 0
@@ -41319,7 +41322,7 @@ Transform:
m_GameObject: {fileID: 1033791869251556189}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalPosition: {x: 0, y: 10, z: 0}
m_LocalScale: {x: 0.5, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: