From 95d63ac62b101fd8047640761a06e0a2249d69a8 Mon Sep 17 00:00:00 2001 From: Lorenzo Balugani Date: Mon, 29 Apr 2019 14:45:57 +0200 Subject: [PATCH] Lifebar now working properly Credits to @Stefano Pigozzi --- Assets/Prefabs/Heart.prefab | 3 +- Assets/Prefabs/LongSword.prefab | 3 +- Assets/Prefabs/Mage.prefab | 4 +- Assets/Prefabs/Player.prefab | 4 +- Assets/Prefabs/PoisonousHeart.prefab | 3 +- Assets/Prefabs/ShortSword.prefab | 3 +- Assets/Prefabs/SkeletonBow.prefab | 4 +- Assets/Prefabs/SkeletonSword.prefab | 4 +- Assets/Prefabs/Slime.prefab | 5 +- Assets/Prefabs/Watcher.prefab | 4 +- Assets/Scenes/Steffo.unity | 765 ++++++++++++++++++++++++--- 11 files changed, 717 insertions(+), 85 deletions(-) diff --git a/Assets/Prefabs/Heart.prefab b/Assets/Prefabs/Heart.prefab index d6866d2..34059e2 100644 --- a/Assets/Prefabs/Heart.prefab +++ b/Assets/Prefabs/Heart.prefab @@ -92,7 +92,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: c07fddfe35675304f92b18a213875e74, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 1 + hpTrueMax: 1 overlappable: 1 + hpMax: 1 hp: 1 regen: 10 diff --git a/Assets/Prefabs/LongSword.prefab b/Assets/Prefabs/LongSword.prefab index ff997b6..785b67c 100644 --- a/Assets/Prefabs/LongSword.prefab +++ b/Assets/Prefabs/LongSword.prefab @@ -92,8 +92,9 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7823bc23a1fc169459fa1b5c385ec764, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 1 + hpTrueMax: 1 overlappable: 1 + hpMax: 1 hp: 0 hpChange: -1 maxHpChange: -1 diff --git a/Assets/Prefabs/Mage.prefab b/Assets/Prefabs/Mage.prefab index 6b68cc9..10ee6c7 100644 --- a/Assets/Prefabs/Mage.prefab +++ b/Assets/Prefabs/Mage.prefab @@ -92,8 +92,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6e026a62156d22a48a47eab0fb42d877, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 25 + hpTrueMax: 25 overlappable: 0 + hpMax: 25 hp: 25 moveChance: 0.5 visionRange: 7 + attackAnimation: {fileID: 0} diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab index 248850e..3d40d06 100644 --- a/Assets/Prefabs/Player.prefab +++ b/Assets/Prefabs/Player.prefab @@ -178,9 +178,11 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: f16e1b4841b0d4546a52853aafbb7d85, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 10 + hpTrueMax: 10 overlappable: 0 + hpMax: 10 hp: 0 + selectedItem: 0 --- !u!114 &8856581523727923621 MonoBehaviour: m_ObjectHideFlags: 0 diff --git a/Assets/Prefabs/PoisonousHeart.prefab b/Assets/Prefabs/PoisonousHeart.prefab index bed7bf1..44c8f88 100644 --- a/Assets/Prefabs/PoisonousHeart.prefab +++ b/Assets/Prefabs/PoisonousHeart.prefab @@ -92,7 +92,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6effa3f71be846844844432d38652a57, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 1 + hpTrueMax: 1 overlappable: 1 + hpMax: 1 hp: 1 damage: 10 diff --git a/Assets/Prefabs/ShortSword.prefab b/Assets/Prefabs/ShortSword.prefab index 81468a6..4f54cb0 100644 --- a/Assets/Prefabs/ShortSword.prefab +++ b/Assets/Prefabs/ShortSword.prefab @@ -92,8 +92,9 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7823bc23a1fc169459fa1b5c385ec764, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 1 + hpTrueMax: 1 overlappable: 1 + hpMax: 1 hp: 1 hpChange: -1 maxHpChange: -1 diff --git a/Assets/Prefabs/SkeletonBow.prefab b/Assets/Prefabs/SkeletonBow.prefab index 8a395c3..762f262 100644 --- a/Assets/Prefabs/SkeletonBow.prefab +++ b/Assets/Prefabs/SkeletonBow.prefab @@ -92,8 +92,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: cb8ea1708402358498d4c6d81ed4a6f9, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 20 + hpTrueMax: 20 overlappable: 0 + hpMax: 20 hp: 20 moveChance: 0 visionRange: 5 + attackAnimation: {fileID: 0} diff --git a/Assets/Prefabs/SkeletonSword.prefab b/Assets/Prefabs/SkeletonSword.prefab index a1ed660..9a901b5 100644 --- a/Assets/Prefabs/SkeletonSword.prefab +++ b/Assets/Prefabs/SkeletonSword.prefab @@ -92,8 +92,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a94e83806efe5f440ad4fea08a31e042, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 20 + hpTrueMax: 20 overlappable: 0 + hpMax: 20 hp: 20 moveChance: 1 visionRange: 4 + attackAnimation: {fileID: 0} diff --git a/Assets/Prefabs/Slime.prefab b/Assets/Prefabs/Slime.prefab index 40d7ddf..260a4ed 100644 --- a/Assets/Prefabs/Slime.prefab +++ b/Assets/Prefabs/Slime.prefab @@ -92,9 +92,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 1ce1b6adc640d6f46bbf4d7072735b7f, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 2 + hpTrueMax: 10 overlappable: 0 + hpMax: 2 hp: 0 - sprite: {fileID: 0} moveChance: 0.5 visionRange: 4 + attackAnimation: {fileID: 0} diff --git a/Assets/Prefabs/Watcher.prefab b/Assets/Prefabs/Watcher.prefab index 4f46aea..e81264e 100644 --- a/Assets/Prefabs/Watcher.prefab +++ b/Assets/Prefabs/Watcher.prefab @@ -92,8 +92,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 015c0ee5a2c534a448fb2cb42d6863be, type: 3} m_Name: m_EditorClassIdentifier: - hpMax: 25 + hpTrueMax: 15 overlappable: 0 + hpMax: 25 hp: 25 moveChance: 0 visionRange: 12 + attackAnimation: {fileID: 0} diff --git a/Assets/Scenes/Steffo.unity b/Assets/Scenes/Steffo.unity index 0330c3f..0939afa 100644 --- a/Assets/Scenes/Steffo.unity +++ b/Assets/Scenes/Steffo.unity @@ -120,78 +120,695 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1001 &8182065398405294977 -PrefabInstance: +--- !u!1 &1332612184 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 1792584738874209504, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_Name - value: GameController - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 1419775483983031142, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 6406203509107481990, guid: 4c25f33cb89f6624db48fc49d353a7f2, - type: 3} - propertyPath: m_Sprite - value: - objectReference: {fileID: 21300000, guid: 9c22556080c471a48a14188af3c88967, - type: 3} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 4c25f33cb89f6624db48fc49d353a7f2, type: 3} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1332612185} + - component: {fileID: 1332612188} + - component: {fileID: 1332612187} + - component: {fileID: 1332612186} + m_Layer: 5 + m_Name: Filled HP Bar (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1332612185 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1332612184} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 8182065399967645508} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 139.37, y: 55.02} + m_Pivot: {x: 1, y: 0} +--- !u!114 &1332612186 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1332612184} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cbf8b0d2fd980e14f9956f5345d82ddc, type: 3} + m_Name: + m_EditorClassIdentifier: + max: 0 +--- !u!114 &1332612187 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1332612184} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 1, b: 0, a: 1} + m_RaycastTarget: 0 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: ad2b5d778bd508349988ad289efdf15a, type: 3} + m_Type: 3 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 2 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 +--- !u!222 &1332612188 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1332612184} + m_CullTransparentMesh: 0 +--- !u!1 &2051317733 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2051317734} + - component: {fileID: 2051317737} + - component: {fileID: 2051317736} + - component: {fileID: 2051317735} + m_Layer: 5 + m_Name: Filled HP Bar (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2051317734 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2051317733} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 8182065399967645508} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 139.37, y: 55.02} + m_Pivot: {x: 1, y: 0} +--- !u!114 &2051317735 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2051317733} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cbf8b0d2fd980e14f9956f5345d82ddc, type: 3} + m_Name: + m_EditorClassIdentifier: + max: 1 +--- !u!114 &2051317736 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2051317733} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 0, b: 0, a: 1} + m_RaycastTarget: 0 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: ad2b5d778bd508349988ad289efdf15a, type: 3} + m_Type: 3 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 2 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 +--- !u!222 &2051317737 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2051317733} + m_CullTransparentMesh: 0 +--- !u!1 &630169749068828386 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 789309134560668627} + - component: {fileID: 3393512626222444985} + m_Layer: 0 + m_Name: Entities + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &789309134560668627 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 630169749068828386} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7077555690451730663} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1313580544782099720 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7203168577643633308} + - component: {fileID: 4061326455747354953} + - component: {fileID: 2984726599447885319} + - component: {fileID: 2392633072578011031} + m_Layer: 5 + m_Name: Filled HP Bar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2392633072578011031 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1313580544782099720} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cbf8b0d2fd980e14f9956f5345d82ddc, type: 3} + m_Name: + m_EditorClassIdentifier: + max: 0 +--- !u!114 &2984726599447885319 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1313580544782099720} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_Sprite: {fileID: 21300000, guid: 9c22556080c471a48a14188af3c88967, type: 3} + m_Type: 3 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 2 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 +--- !u!114 &3195245192869872477 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3195245192869872481} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9584516e85b5cb54eab0c7dafa1094f1, type: 3} + m_Name: + m_EditorClassIdentifier: + disappearanceSpeed: 0.3 +--- !u!224 &3195245192869872480 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3195245192869872481} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 8182065399967645508} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 30} + m_Pivot: {x: 0.5, y: 1} +--- !u!1 &3195245192869872481 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3195245192869872480} + - component: {fileID: 3195245192869872482} + - component: {fileID: 3195245192869872483} + - component: {fileID: 3195245192869872477} + m_Layer: 5 + m_Name: Message Bar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!222 &3195245192869872482 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3195245192869872481} + m_CullTransparentMesh: 0 +--- !u!114 &3195245192869872483 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3195245192869872481} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: feeeba28bb1da554f908645dd468e2ad, type: 3} + m_FontSize: 18 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 40 + m_Alignment: 1 + m_AlignByGeometry: 0 + m_RichText: 0 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Hello! I'm THE MESSAGE BAR! +--- !u!114 &3393512626222444985 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 630169749068828386} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2447171af2ad9634498f2d769d7f5200, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!222 &4061326455747354953 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1313580544782099720} + m_CullTransparentMesh: 0 +--- !u!114 &4337666034323184198 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4341632257663970948} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 052bc569472779a429bfc51246f723d4, type: 3} + m_Name: + m_EditorClassIdentifier: + mapSize: 40 + roomsToGenerate: 8 + minRoomSize: 2 + maxRoomSize: 8 + maxRoomIterations: 100 + floorSprites: + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: e0e60c9a4ff0b8e429e6cfe316da9bbf, type: 3} + - {fileID: 21300000, guid: fa4c9841fd8a5fb4f94ff78c95301065, type: 3} + topWallSprites: + - {fileID: 0} + botWallSprites: + - {fileID: 21300000, guid: 82ccea6ce8f2edf4cae6f99e1127b0c3, type: 3} + leftWallSprites: + - {fileID: 0} + rightWallSprites: + - {fileID: 0} + lCornerWallSprites: + - {fileID: 0} + rCornerWallSprites: + - {fileID: 0} + tilePrefab: {fileID: 2955896503201886234, guid: 0e0b618b5499bbb40b076c0291d55487, + type: 3} + playerPrefab: {fileID: 2935319493830293412, guid: e8ff38be23e53db40a793f6959c6f4ec, + type: 3} + enemyPrefabs: + - {fileID: 470211819356819165, guid: 1bd6e08f590fdd844854a34504aeaa4a, type: 3} + - {fileID: 1164136568549368904, guid: a4aeecfb369f0974490d158ef9489335, type: 3} + enemiesToSpawn: 15 +--- !u!1 &4341632257663970948 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4979146984560623434} + - component: {fileID: 4337666034323184198} + m_Layer: 0 + m_Name: Map + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4979146984560623434 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4341632257663970948} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 7077555690451730663} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &7077555690451730663 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7596450466852265825} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 789309134560668627} + - {fileID: 4979146984560623434} + - {fileID: 8182065398968123531} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!224 &7203168577643633308 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1313580544782099720} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 8182065399967645508} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 139.37, y: 55.02} + m_Pivot: {x: 1, y: 0} +--- !u!1 &7596450466852265825 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7077555690451730663} + m_Layer: 0 + m_Name: GameController + m_TagString: GameController + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &8182065398968123528 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8182065398968123531} + m_Layer: 0 + m_Name: UI + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8182065398968123531 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065398968123528} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 8182065399967645508} + - {fileID: 8182065399139557467} + m_Father: {fileID: 7077555690451730663} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &8182065399139557464 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8182065399139557467} + - component: {fileID: 8182065399139557469} + m_Layer: 0 + m_Name: EventSystem + m_TagString: EventSystem + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8182065399139557467 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065399139557464} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 8182065398968123531} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &8182065399139557469 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065399139557464} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!224 &8182065399967645508 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065399967645509} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0, y: 0, z: 0} + m_Children: + - {fileID: 7203168577643633308} + - {fileID: 3195245192869872480} + - {fileID: 2051317734} + - {fileID: 1332612185} + m_Father: {fileID: 8182065398968123531} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 0} +--- !u!1 &8182065399967645509 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8182065399967645508} + - component: {fileID: 8182065399967645513} + - component: {fileID: 8182065399967645510} + - component: {fileID: 8182065399967645511} + m_Layer: 5 + m_Name: Canvas + m_TagString: Canvas + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &8182065399967645510 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065399967645509} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!114 &8182065399967645511 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065399967645509} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!223 &8182065399967645513 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8182065399967645509} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 0 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0