Fixed saves for crystals and barrels

This commit is contained in:
2024-12-16 10:16:21 +01:00
parent 8c5ecb6405
commit 33e7e8f777
8 changed files with 565 additions and 500 deletions

View File

@@ -688,6 +688,7 @@ GameObject:
- component: {fileID: 3869613308989366528}
- component: {fileID: 3869613308989366529}
- component: {fileID: 3869613308989366530}
- component: {fileID: 7154987622177331907}
m_Layer: 30
m_Name: Red_CrystalDestroy_Blue
m_TagString: Obstacle
@@ -937,10 +938,12 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
m_prefabToSpawn:
- {fileID: 7268478284668698993, guid: a7e5772ed53420341bcc2a4552d4b142, type: 3}
m_objectsToSpawn: []
m_minObjectsToSpawn: 1
m_maxObjectsToSpawn: 2
m_spawnPoint: {fileID: 0}
explosiveDamage: 5
randomPositionOffset: 0.2
points: 20
--- !u!65 &3869613308989366530
BoxCollider:
@@ -955,6 +958,25 @@ BoxCollider:
serializedVersion: 2
m_Size: {x: 1.1153543, y: 2.6258202, z: 1.1637211}
m_Center: {x: -0.10402425, y: 1.0240772, z: -0.0051041334}
--- !u!114 &7154987622177331907
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5752606297094980560}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 03526e258566dc247a4eb8525aeeb667, type: 3}
m_Name:
m_EditorClassIdentifier:
m_key:
m_appendSaverTypeToKey: 0
m_saveAcrossSceneChanges: 1
m_restoreStateOnStart: 0
m_mode: 1
m_destroyMode: 0
m_destroyedVersionPrefab: {fileID: 0}
--- !u!1 &5770632220772807102
GameObject:
m_ObjectHideFlags: 0