diff --git a/Assets/External_Used/UI/UI_BossHealthBar.prefab b/Assets/External_Used/UI/UI_BossHealthBar.prefab new file mode 100644 index 00000000..624bcefa --- /dev/null +++ b/Assets/External_Used/UI/UI_BossHealthBar.prefab @@ -0,0 +1,1049 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &569484089490167518 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5403694180201449346} + - component: {fileID: 3111911303651587018} + - component: {fileID: 8524252734736764718} + - component: {fileID: 3714599220922777431} + m_Layer: 5 + m_Name: RawImage_Sheen_Fast + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5403694180201449346 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 569484089490167518} + 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_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2971862343577199805} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3111911303651587018 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 569484089490167518} + m_CullTransparentMesh: 1 +--- !u!114 &8524252734736764718 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 569484089490167518} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: f0e5b9c88a5be704f87753b7a7e4cf5c, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 0.050980393} + m_RaycastTarget: 0 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 2800000, guid: b8ec7efd96b77904a8ee061eb8bfba3f, type: 3} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 2 + height: 1 +--- !u!114 &3714599220922777431 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 569484089490167518} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a03f23791668b464a96202c665f91b28, type: 3} + m_Name: + m_EditorClassIdentifier: + rawImage: {fileID: 8524252734736764718} + speed: {x: -0.1, y: 0} + size: {x: 256, y: 64} +--- !u!1 &887616750182392209 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9180799155483852847} + - component: {fileID: 2815095170849506622} + - component: {fileID: 3077997186489176163} + m_Layer: 5 + m_Name: SPR_Greeble_Demon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &9180799155483852847 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 887616750182392209} + 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_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 7303605616070184167} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 39.1} + m_SizeDelta: {x: 180, y: 90} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2815095170849506622 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 887616750182392209} + m_CullTransparentMesh: 1 +--- !u!114 &3077997186489176163 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 887616750182392209} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 0 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 238e31403ddb5f04c92a6a6edcda17f5, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &1833205063244138202 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1384280946776679044} + - component: {fileID: 7123456789012345678} + m_Layer: 5 + m_Name: UI_BossHealthBar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1384280946776679044 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1833205063244138202} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.8, y: 0.8, z: 0.8} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 7303605616070184167} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: -200} + m_SizeDelta: {x: 1000, y: 40} + m_Pivot: {x: 0.5, y: 1} +--- !u!1 &5163086717113548400 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7061785310460012807} + - component: {fileID: 6781552585457777448} + - component: {fileID: 1671872687398235881} + m_Layer: 5 + m_Name: SPR_Vignette + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7061785310460012807 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5163086717113548400} + 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_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 7303605616070184167} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &6781552585457777448 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5163086717113548400} + m_CullTransparentMesh: 1 +--- !u!114 &1671872687398235881 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5163086717113548400} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0.43137255} + m_RaycastTarget: 0 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 0 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: dfd0feb6482d37541be16cb4593f51a4, type: 3} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 6 +--- !u!1 &7324832613215478173 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 822400900121516796} + - component: {fileID: 3966883237407917948} + - component: {fileID: 3602944622376772621} + m_Layer: 5 + m_Name: SPR_Frame + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &822400900121516796 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7324832613215478173} + 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_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 7303605616070184167} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 50, y: 40} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3966883237407917948 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7324832613215478173} + m_CullTransparentMesh: 1 +--- !u!114 &3602944622376772621 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7324832613215478173} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 0 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 1503dda0f1118c241b2ebbdcaee296cf, type: 3} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 3 +--- !u!1 &8893743345831515984 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7303605616070184167} + m_Layer: 5 + m_Name: SliderBox + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7303605616070184167 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8893743345831515984} + 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_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 9180799155483852847} + - {fileID: 5303515918785520477} + - {fileID: 7061785310460012807} + - {fileID: 822400900121516796} + - {fileID: 8872377597972643978} + - {fileID: 7543839057773374457} + m_Father: {fileID: 1384280946776679044} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!1001 &4821873919640174508 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 7303605616070184167} + m_Modifications: + - target: {fileID: 378538600947842191, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_Name + value: Label_HP + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_text + value: 999 / 999 + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_fontSize + value: 43.9 + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_fontSizeMax + value: 56 + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_sharedMaterial + value: + objectReference: {fileID: 2100000, guid: a3063f2d22ae4ba44828c3885272eaf2, type: 2} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_enableAutoSizing + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_VerticalAlignment + value: 4096 + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_HorizontalAlignment + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 1990594193549166204, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: 'm_ActiveFontFeatures.Array.data[0]' + value: 1801810542 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_Pivot.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_AnchorMin.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_SizeDelta.x + value: 400 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_SizeDelta.y + value: 65 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_AnchoredPosition.x + value: 20 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + propertyPath: m_AnchoredPosition.y + value: 41 + objectReference: {fileID: 0} + - target: {fileID: 378538600947842191, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_Name + value: Label_HP + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_SizeDelta.y + value: 20 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} +--- !u!224 &8872377597972643978 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 4164625289371221798, guid: 9aea4cf6dad33b1419c4597a344a2e92, type: 3} + m_PrefabInstance: {fileID: 4821873919640174508} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &5663827212940307996 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 7303605616070184167} + m_Modifications: + - target: {fileID: 378538600947842191, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_Name + value: Label_BossName + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_SizeDelta.y + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_AnchoredPosition.y + value: 50 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4164625289371221798, guid: 289e34102b96a4515a667a4f636007c0, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_Pivot.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_SizeDelta.x + value: -50 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_SizeDelta.y + value: 100 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_AnchoredPosition.x + value: -20 + objectReference: {fileID: 0} + - target: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_AnchoredPosition.y + value: 43 + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_text + value: John the Impaler + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_fontSize + value: 56 + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_fontSizeMax + value: 56 + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_fontSizeBase + value: 56 + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_sharedMaterial + value: + objectReference: {fileID: 2100000, guid: a3063f2d22ae4ba44828c3885272eaf2, type: 2} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_enableAutoSizing + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_HorizontalAlignment + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3420556218193743673, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: 'm_ActiveFontFeatures.Array.data[0]' + value: 1801810542 + objectReference: {fileID: 0} + - target: {fileID: 4546473359128379108, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + propertyPath: m_Name + value: Label_BossName + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} +--- !u!224 &7543839057773374457 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 2749708641982727653, guid: 0ed0a70e5a4682c4c9e105178800133f, type: 3} + m_PrefabInstance: {fileID: 5663827212940307996} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &8240726994871906082 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 7303605616070184167} + m_Modifications: + - target: {fileID: 296685667904423389, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_SizeDelta.x + value: 20 + objectReference: {fileID: 0} + - target: {fileID: 296685667904423389, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1441044545931655363, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1441044545931655363, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1441044545931655363, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4088219378295715888, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4088219378295715888, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Pivot.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_SizeDelta.x + value: 20 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6585068065368083359, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6585068065368083359, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6851061457708453029, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Name + value: Slider_Horizontal + objectReference: {fileID: 0} + - target: {fileID: 6851061457708453029, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Sprite + value: + objectReference: {fileID: 21300000, guid: 475638d85b2a92348927fdb0c6a7a798, type: 3} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.a + value: 0.8 + objectReference: {fileID: 0} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.b + value: 0.09803922 + objectReference: {fileID: 0} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.g + value: 0.105882354 + objectReference: {fileID: 0} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.r + value: 0.11372549 + objectReference: {fileID: 0} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Enabled + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7481042713946553521, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_PixelsPerUnitMultiplier + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 8463102798845782004, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.b + value: 0.19134924 + objectReference: {fileID: 0} + - target: {fileID: 8463102798845782004, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.g + value: 0.19134934 + objectReference: {fileID: 0} + - target: {fileID: 8463102798845782004, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + propertyPath: m_Color.r + value: 0.9433962 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 6585068065368083359, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + insertIndex: -1 + addedObject: {fileID: 5403694180201449346} + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 6851061457708453029, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + insertIndex: -1 + addedObject: {fileID: 5745198678758886895} + - targetCorrespondingSourceObject: {fileID: 6851061457708453029, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + insertIndex: -1 + addedObject: {fileID: 3442376154137840734} + - targetCorrespondingSourceObject: {fileID: 6851061457708453029, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + insertIndex: -1 + addedObject: {fileID: 5333750011063576514} + - targetCorrespondingSourceObject: {fileID: 7058686565070685003, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + insertIndex: -1 + addedObject: {fileID: 1310706873006053288} + m_SourcePrefab: {fileID: 100100000, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} +--- !u!1 &1416821347091459177 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7058686565070685003, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + m_PrefabInstance: {fileID: 8240726994871906082} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1310706873006053288 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1416821347091459177} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowMaskGraphic: 1 +--- !u!224 &2971862343577199805 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 6585068065368083359, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + m_PrefabInstance: {fileID: 8240726994871906082} + m_PrefabAsset: {fileID: 0} +--- !u!1 &3264878362326918023 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 6851061457708453029, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + m_PrefabInstance: {fileID: 8240726994871906082} + m_PrefabAsset: {fileID: 0} +--- !u!222 &5745198678758886895 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3264878362326918023} + m_CullTransparentMesh: 1 +--- !u!114 &3442376154137840734 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3264878362326918023} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowMaskGraphic: 0 +--- !u!114 &5333750011063576514 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3264878362326918023} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 88a29043df87bc14e84e2bfc63168393, type: 3} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 3 +--- !u!224 &5303515918785520477 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 4306899379183733887, guid: f7b3a50e852da2c40b98f9d4cf10e289, type: 3} + m_PrefabInstance: {fileID: 8240726994871906082} + m_PrefabAsset: {fileID: 0} diff --git a/Assets/External_Used/UI/UI_BossHealthBar.prefab.meta b/Assets/External_Used/UI/UI_BossHealthBar.prefab.meta new file mode 100644 index 00000000..2215ca2e --- /dev/null +++ b/Assets/External_Used/UI/UI_BossHealthBar.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2122b1e1b36684a40978673f272f200e +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Enemy/BossArea.cs b/Assets/Scripts/Enemy/BossArea.cs new file mode 100644 index 00000000..1dfe2605 --- /dev/null +++ b/Assets/Scripts/Enemy/BossArea.cs @@ -0,0 +1,250 @@ +using System; +using UnityEngine; + +using Colosseum.UI; +using Colosseum.Player; + +namespace Colosseum.Enemy +{ + /// + /// 보스 영역 트리거. + /// 플레이어가 이 영역에 진입하면 연결된 보스의 체력바 UI를 표시합니다. + /// + [RequireComponent(typeof(Collider))] + public class BossArea : MonoBehaviour + { + [Header("Boss Reference")] + [Tooltip("이 영역에 연결된 보스")] + [SerializeField] private BossEnemy boss; + + [Header("UI Settings")] + [Tooltip("보스 체력바 UI (없으면 씬에서 자동 검색)")] + [SerializeField] private BossHealthBarUI bossHealthBarUI; + + [Header("Trigger Settings")] + [Tooltip("플레이어 퇴장 시 UI 숨김 여부")] + [SerializeField] private bool hideOnExit = false; + + [Tooltip("영역 진입 시 한 번만 표시")] + [SerializeField] private bool showOnceOnly = false; + + // 이벤트 + /// + /// 플레이어 진입 시 호출 + /// + public event Action OnPlayerEnter; + + /// + /// 플레이어 퇴장 시 호출 + /// + public event Action OnPlayerExit; + + // 상태 + private bool hasShownUI = false; + private bool isPlayerInArea = false; + private Collider triggerCollider; + + [Header("Debug")] + [SerializeField] private bool debugMode = false; + + /// + /// 연결된 보스 + /// + public BossEnemy Boss => boss; + + /// + /// 플레이어가 영역 내에 있는지 여부 + /// + public bool IsPlayerInArea => isPlayerInArea; + + private void Awake() + { + // Collider 설정 확인 + triggerCollider = GetComponent(); + if (triggerCollider != null && !triggerCollider.isTrigger) + { + Debug.LogWarning($"[BossArea] {name}: Collider가 Trigger가 아닙니다. 자동으로 Trigger로 설정합니다."); + triggerCollider.isTrigger = true; + } + } + + private void Start() + { + // BossHealthBarUI 자동 검색 + if (bossHealthBarUI == null) + { + bossHealthBarUI = FindObjectOfType(); + if (bossHealthBarUI == null) + { + Debug.LogWarning($"[BossArea] {name}: BossHealthBarUI를 찾을 수 없습니다."); + } + } + + // 보스 참조 확인 + if (boss == null) + { + Debug.LogWarning($"[BossArea] {name}: 연결된 보스가 없습니다."); + } + } + + private void OnTriggerEnter(Collider other) + { + // 이미 표시했고 한 번만 표시 설정이면 무시 + if (showOnceOnly && hasShownUI) + return; + + // 플레이어 확인 (태그 또는 컴포넌트) + if (!IsPlayer(other, out var playerController)) + return; + + isPlayerInArea = true; + ShowBossHealthBar(); + + OnPlayerEnter?.Invoke(); + + if (debugMode) + Debug.Log($"[BossArea] {name}: 플레이어 진입 - 보스: {boss?.name ?? "없음"}"); + } + + private void OnTriggerExit(Collider other) + { + // 플레이어 확인 + if (!IsPlayer(other, out var playerController)) + return; + + isPlayerInArea = false; + + if (hideOnExit) + { + HideBossHealthBar(); + } + + OnPlayerExit?.Invoke(); + + if (debugMode) + Debug.Log($"[BossArea] {name}: 플레이어 퇴장"); + } + + /// + /// 보스 체력바 표시 + /// + public void ShowBossHealthBar() + { + if (boss == null || bossHealthBarUI == null) + return; + + // BossHealthBarUI에 보스 설정 + bossHealthBarUI.SetBoss(boss); + hasShownUI = true; + } + + /// + /// 보스 체력바 숨김 + /// + public void HideBossHealthBar() + { + if (bossHealthBarUI == null) + return; + + bossHealthBarUI.gameObject.SetActive(false); + } + + /// + /// 플레이어 여부 확인 + /// + private bool IsPlayer(Collider other, out PlayerNetworkController playerController) + { + playerController = null; + + // 1. 태그로 확인 + if (other.CompareTag("Player")) + { + playerController = other.GetComponent(); + return true; + } + + // 2. 컴포넌트로 확인 + playerController = other.GetComponent(); + if (playerController != null) + return true; + + // 3. 부모에서 검색 + playerController = other.GetComponentInParent(); + return playerController != null; + } + + /// + /// 보스 수동 설정 + /// + public void SetBoss(BossEnemy newBoss) + { + boss = newBoss; + } + + /// + /// UI 수동 설정 + /// + public void SetHealthBarUI(BossHealthBarUI ui) + { + bossHealthBarUI = ui; + } + + /// + /// 상태 초기화 (재진입 허용) + /// + public void ResetState() + { + hasShownUI = false; + isPlayerInArea = false; + } + + #region Debug Gizmos + + private void OnDrawGizmos() + { + if (!debugMode) + return; + + // 영역 시각화 + Gizmos.color = new Color(1f, 0.5f, 0f, 0.3f); // 주황색 반투명 + + var col = GetComponent(); + if (col is BoxCollider boxCol) + { + Gizmos.matrix = transform.localToWorldMatrix; + Gizmos.DrawCube(boxCol.center, boxCol.size); + } + else if (col is SphereCollider sphereCol) + { + Gizmos.DrawSphere(transform.position + sphereCol.center, sphereCol.radius); + } + else if (col is CapsuleCollider capsuleCol) + { + // 캡슐은 구+실린더로 근접 표현 + Gizmos.DrawWireSphere(transform.position + capsuleCol.center, capsuleCol.radius); + } + + // 보스 연결 표시 + if (boss != null) + { + Gizmos.color = Color.red; + Gizmos.DrawLine(transform.position, boss.transform.position); + } + } + + private void OnDrawGizmosSelected() + { + // 선택 시 더 명확하게 표시 + Gizmos.color = new Color(1f, 0.3f, 0f, 0.5f); + + var col = GetComponent(); + if (col is BoxCollider boxCol) + { + Gizmos.matrix = transform.localToWorldMatrix; + Gizmos.DrawCube(boxCol.center, boxCol.size); + } + } + + #endregion + } +} diff --git a/Assets/Scripts/Enemy/BossArea.cs.meta b/Assets/Scripts/Enemy/BossArea.cs.meta new file mode 100644 index 00000000..0c1c065a --- /dev/null +++ b/Assets/Scripts/Enemy/BossArea.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1735054b0ca6d674b99668aeb74ba273 \ No newline at end of file diff --git a/Assets/Scripts/Enemy/BossEnemy.cs b/Assets/Scripts/Enemy/BossEnemy.cs index 4a5431d8..b3540ea4 100644 --- a/Assets/Scripts/Enemy/BossEnemy.cs +++ b/Assets/Scripts/Enemy/BossEnemy.cs @@ -47,6 +47,16 @@ namespace Colosseum.Enemy public event System.Action OnPhaseChanged; // phaseIndex public event System.Action OnPhaseTransitionStart; // transitionDuration public event System.Action OnPhaseTransitionEnd; + // 정적 이벤트 (UI 자동 연결용) + /// + /// 보스 스폰 시 발생하는 정적 이벤트 + /// + public static event System.Action OnBossSpawned; + + /// + /// 현재 활성화된 보스 (Scene에 하나만 존재한다고 가정) + /// + public static BossEnemy ActiveBoss { get; private set; } // Properties public int CurrentPhaseIndex => currentPhaseIndex; @@ -71,8 +81,18 @@ namespace Colosseum.Enemy { behaviorAgent.Graph = initialBehaviorGraph; } + + // 정적 이벤트 발생 (UI 자동 연결용) + ActiveBoss = this; + OnBossSpawned?.Invoke(this); + + if (debugMode) + { + Debug.Log($"[Boss] Boss spawned: {name}"); + } } + protected override void InitializeStats() { base.InitializeStats(); diff --git a/Assets/Scripts/UI/BossHealthBarUI.cs b/Assets/Scripts/UI/BossHealthBarUI.cs new file mode 100644 index 00000000..35dcd809 --- /dev/null +++ b/Assets/Scripts/UI/BossHealthBarUI.cs @@ -0,0 +1,248 @@ +using System; +using UnityEngine; +using UnityEngine.UI; +using TMPro; + +using Colosseum.Enemy; + +namespace Colosseum.UI +{ + /// + /// 보스 체력바 UI 컴포넌트. + /// BossEnemy의 체력 변화를 자동으로 UI에 반영합니다. + /// + public class BossHealthBarUI : MonoBehaviour + { + [Header("References")] + [Tooltip("체력 슬라이더 (없으면 자동 검색)")] + [SerializeField] private Slider healthSlider; + + [Tooltip("체력 텍스트 (예: '999 / 999')")] + [SerializeField] private TMP_Text healthText; + + [Tooltip("보스 이름 텍스트")] + [SerializeField] private TMP_Text bossNameText; + + [Header("Target")] + [Tooltip("추적할 보스 (런타임에 설정 가능)")] + [SerializeField] private BossEnemy targetBoss; + + [Header("Settings")] + [Tooltip("보스 사망 시 UI 숨김 여부")] + [SerializeField] private bool hideOnDeath = true; + + [Tooltip("슬라이더 값 변환 속도")] + [Min(0f)] [SerializeField] private float lerpSpeed = 5f; + + private float displayHealthRatio; + private float targetHealthRatio; + private bool isSubscribed; + private bool isSubscribedToStaticEvent; + + /// + /// 현재 추적 중인 보스 + /// + public BossEnemy TargetBoss => targetBoss; + + /// + /// 보스 수동 설정 (런타임에서 호출) + /// + public void SetBoss(BossEnemy boss) + { + // 기존 보스 이벤트 구독 해제 + UnsubscribeFromBoss(); + + targetBoss = boss; + + // 새 보스 이벤트 구독 + SubscribeToBoss(); + + // 초기 UI 업데이트 + if (targetBoss != null) + { + UpdateBossName(); + UpdateHealthImmediate(); + gameObject.SetActive(true); + } + else + { + gameObject.SetActive(false); + } + } + + + /// + /// 보스 스폰 이벤트 핸들러 + /// + private void OnBossSpawned(BossEnemy boss) + { + if (boss == null) + return; + + SetBoss(boss); + } + + private void Awake() + { + // 컴포넌트 자동 검색 + if (healthSlider == null) + healthSlider = GetComponentInChildren(); + + if (healthText == null) + healthText = transform.Find("SliderBox/Label_HP")?.GetComponent(); + + if (bossNameText == null) + bossNameText = transform.Find("SliderBox/Label_BossName")?.GetComponent(); + } + + private void OnEnable() + { + // 정적 이벤트 구독 (보스 스폰 자동 감지) + if (!isSubscribedToStaticEvent) + { + BossEnemy.OnBossSpawned += OnBossSpawned; + isSubscribedToStaticEvent = true; + } + } + private void OnDisable() + { + // 정적 이벤트 구독 해제 + if (isSubscribedToStaticEvent) + { + BossEnemy.OnBossSpawned -= OnBossSpawned; + isSubscribedToStaticEvent = false; + } + } + private void Start() + { + // 이미 활성화된 보스가 있으면 연결 + if (BossEnemy.ActiveBoss != null) + { + SetBoss(BossEnemy.ActiveBoss); + } + // 인스펙터에서 설정된 보스가 있으면 구독 + else if (targetBoss != null) + { + SubscribeToBoss(); + UpdateBossName(); + UpdateHealthImmediate(); + } + else + { + // 보스가 없으면 비활성화 (이벤트 대기) + gameObject.SetActive(false); + } + } + private void Update() + { + // 부드러운 체력바 애니메이션 + if (!Mathf.Approximately(displayHealthRatio, targetHealthRatio)) + { + displayHealthRatio = Mathf.Lerp(displayHealthRatio, targetHealthRatio, lerpSpeed * Time.deltaTime); + + if (Mathf.Abs(displayHealthRatio - targetHealthRatio) < 0.01f) + displayHealthRatio = targetHealthRatio; + + UpdateSliderVisual(); + } + } + private void OnDestroy() + { + UnsubscribeFromBoss(); + + // 정적 이벤트 구독 해제 + if (isSubscribedToStaticEvent) + { + BossEnemy.OnBossSpawned -= OnBossSpawned; + isSubscribedToStaticEvent = false; + } + } + private void SubscribeToBoss() + { + if (targetBoss == null || isSubscribed) + return; + + targetBoss.OnHealthChanged += OnBossHealthChanged; + targetBoss.OnDeath += OnBossDeath; + isSubscribed = true; + } + private void UnsubscribeFromBoss() + { + if (targetBoss == null || !isSubscribed) + return; + + targetBoss.OnHealthChanged -= OnBossHealthChanged; + targetBoss.OnDeath -= OnBossDeath; + isSubscribed = false; + } + private void OnBossHealthChanged(float currentHealth, float maxHealth) + { + if (maxHealth <= 0f) + return; + + targetHealthRatio = Mathf.Clamp01(currentHealth / maxHealth); + UpdateHealthText(currentHealth, maxHealth); + } + private void OnBossDeath() + { + if (hideOnDeath) + { + gameObject.SetActive(false); + } + } + private void UpdateHealthImmediate() + { + if (targetBoss == null) + return; + + float currentHealth = targetBoss.CurrentHealth; + float maxHealth = targetBoss.MaxHealth; + + if (maxHealth <= 0f) + return; + + targetHealthRatio = Mathf.Clamp01(currentHealth / maxHealth); + displayHealthRatio = targetHealthRatio; + + UpdateSliderVisual(); + UpdateHealthText(currentHealth, maxHealth); + } + private void UpdateSliderVisual() + { + if (healthSlider != null) + { + healthSlider.value = displayHealthRatio; + } + } + private void UpdateHealthText(float currentHealth, float maxHealth) + { + if (healthText != null) + { + healthText.text = $"{Mathf.CeilToInt(currentHealth)} / {Mathf.CeilToInt(maxHealth)}"; + } + } + private void UpdateBossName() + { + if (bossNameText == null || targetBoss == null) + return; + + // EnemyData에서 보스 이름 가져오기 + if (targetBoss.Data != null && !string.IsNullOrEmpty(targetBoss.Data.EnemyName)) + { + bossNameText.text = targetBoss.Data.EnemyName; + } + else + { + // 폴백: GameObject 이름 사용 + bossNameText.text = targetBoss.name; + } + } +#if UNITY_EDITOR + private void OnValidate() + { + if (healthSlider == null) + healthSlider = GetComponentInChildren(); + } +#endif + } +} diff --git a/Assets/Scripts/UI/BossHealthBarUI.cs.meta b/Assets/Scripts/UI/BossHealthBarUI.cs.meta new file mode 100644 index 00000000..de71d5cd --- /dev/null +++ b/Assets/Scripts/UI/BossHealthBarUI.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 892f9842e85256b47b24e0aab016820b \ No newline at end of file