add: you can't deploy to destroyed levels

add: levels now have bulletsGenerate
update: levels have different factories
This commit is contained in:
KOSMOGOR
2025-04-30 20:53:58 +03:00
parent 68cf00fd21
commit 85dc2955cf
6 changed files with 80 additions and 23 deletions
+6 -3
View File
@@ -49,15 +49,18 @@ MonoBehaviour:
- sceneName: Level1
hp: 0
maxHp: 100
factory: 0
factory: 1
bulletsGenerate: 15
- sceneName: Level2
hp: 0
maxHp: 100
factory: 1
factory: 3
bulletsGenerate: 50
- sceneName: Level3
hp: 0
maxHp: 100
factory: 3
factory: 2
bulletsGenerate: 5
enemies:
- prefab: {fileID: 3602081654026665026, guid: 7ab59219438e4a241affd5e9441d9d9f, type: 3}
weight: 1
+15 -15
View File
@@ -103,9 +103,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: -100, y: 50}
m_SizeDelta: {x: 100, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -59, y: 25}
m_SizeDelta: {x: 200, y: 100}
m_Pivot: {x: 1, y: 0}
--- !u!222 &4720682156438956312
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -161,8 +161,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontSize: 80
m_fontSizeBase: 80
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -379,9 +379,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 150, y: 50}
m_SizeDelta: {x: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 50, y: 25}
m_SizeDelta: {x: 400, y: 100}
m_Pivot: {x: 0, y: 0}
--- !u!222 &2554197534496854829
CanvasRenderer:
m_ObjectHideFlags: 0
@@ -437,8 +437,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontSize: 80
m_fontSizeBase: 80
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -634,10 +634,10 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ReferenceResolution: {x: 1920, y: 1080}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
@@ -712,7 +712,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 150, y: 50}
m_SizeDelta: {x: 300, y: 100}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &1610488001899351068
CanvasRenderer:
@@ -769,8 +769,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontSize: 80
m_fontSizeBase: 80
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18