From 55e098c8f209ae9be1acc0655c9fa6a507918b1b Mon Sep 17 00:00:00 2001 From: sega Date: Wed, 12 Aug 2026 17:10:17 +0300 Subject: [PATCH] Press F --- Assets/Prefabs/Gameplay/Panels/Draw.prefab | 890 ++++++++++++++ .../Prefabs/Gameplay/Panels/Draw.prefab.meta | 7 + Assets/Prefabs/Gameplay/Panels/Win PvE.prefab | 1050 +++++++++++++++++ .../Gameplay/Panels/Win PvE.prefab.meta | 7 + Assets/Prefabs/Gameplay/Panels/Win PvP.prefab | 862 ++++++++++++++ .../Gameplay/Panels/Win PvP.prefab.meta | 7 + Assets/Scenes/GameScene3D.unity | 570 ++++++++- Assets/Scripts/Bootstrap.cs | 11 +- Assets/Scripts/Common/GameManager.cs | 16 +- Assets/Scripts/Common/Inputs/In.cs | 88 +- Assets/Scripts/Gameplay/EndGameHandler.cs | 27 +- .../Gameplay/Panels/DrawAgainButton.cs | 14 + .../Gameplay/Panels/DrawAgainButton.cs.meta | 2 + .../Scripts/Gameplay/Panels/GotoMenuButton.cs | 1 + .../Scripts/Gameplay/Panels/PveLossButton.cs | 11 +- .../Scripts/Gameplay/Panels/PveLossPanel.cs | 35 +- Assets/Scripts/Gameplay/Panels/PveWinPanel.cs | 126 ++ .../Gameplay/Panels/PveWinPanel.cs.meta | 2 + Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs | 158 +++ .../Gameplay/Panels/PvpWinPanel.cs.meta | 2 + .../Scripts/Gameplay/Panels/RevengeButton.cs | 10 +- Assets/Scripts/Gameplay/TurnTracker.cs | 27 + Assets/Scripts/Gameplay/TurnTracker.cs.meta | 2 + Assets/Scripts/MButton.cs | 6 +- Assets/Scripts/Menu/MenuLayoutController.cs | 10 +- .../Scripts/Menu/Panels/MenuPanelsScroll.cs | 7 +- Assets/Scripts/MenuGameplayTransit.cs | 8 - .../TextMesh Pro/Resources/TMP Settings.asset | 4 +- 28 files changed, 3871 insertions(+), 89 deletions(-) create mode 100644 Assets/Prefabs/Gameplay/Panels/Draw.prefab create mode 100644 Assets/Prefabs/Gameplay/Panels/Draw.prefab.meta create mode 100644 Assets/Prefabs/Gameplay/Panels/Win PvE.prefab create mode 100644 Assets/Prefabs/Gameplay/Panels/Win PvE.prefab.meta create mode 100644 Assets/Prefabs/Gameplay/Panels/Win PvP.prefab create mode 100644 Assets/Prefabs/Gameplay/Panels/Win PvP.prefab.meta create mode 100644 Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs create mode 100644 Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs.meta create mode 100644 Assets/Scripts/Gameplay/Panels/PveWinPanel.cs create mode 100644 Assets/Scripts/Gameplay/Panels/PveWinPanel.cs.meta create mode 100644 Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs create mode 100644 Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs.meta create mode 100644 Assets/Scripts/Gameplay/TurnTracker.cs create mode 100644 Assets/Scripts/Gameplay/TurnTracker.cs.meta diff --git a/Assets/Prefabs/Gameplay/Panels/Draw.prefab b/Assets/Prefabs/Gameplay/Panels/Draw.prefab new file mode 100644 index 0000000..a8dc845 --- /dev/null +++ b/Assets/Prefabs/Gameplay/Panels/Draw.prefab @@ -0,0 +1,890 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2340526195833056488 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8398849166858808229} + - component: {fileID: 105701308385439085} + - component: {fileID: 3112740318731043667} + m_Layer: 5 + m_Name: Draw + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8398849166858808229 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2340526195833056488} + 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: 329248299330250959} + - {fileID: 646410454267474446} + m_Father: {fileID: 0} + 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 &105701308385439085 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2340526195833056488} + m_CullTransparentMesh: 1 +--- !u!114 &3112740318731043667 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2340526195833056488} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cbcfdbb18f10e58428fb67dca6b35cfc, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PveLossPanel + panel: {fileID: 646410454267474446} + startPanelX: -1500 + shownPanelX: 0 + hiddenPanelX: 1500 + description: {fileID: 8349121126867190334} + revengeButton: {fileID: 0} + menuButton: {fileID: 4021462699733782094} + background: {fileID: 3676790911990693413} + backgroundEnabledColor: {r: 0, g: 0, b: 0, a: 0.78431374} + backgroundDisabledColor: {r: 0, g: 0, b: 0, a: 0} + elasticCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 3.3265033 + outSlope: 3.3265033 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0.09685003 + - serializedVersion: 3 + time: 0.5913489 + value: 1.0537547 + inSlope: -0.08538857 + outSlope: -0.08538857 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.40856364 + outWeight: 0.6827316 + - serializedVersion: 3 + time: 0.7950607 + value: 0.85623163 + inSlope: -0.026630348 + outSlope: -0.026630348 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 1 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + buttons: + - {fileID: 0} + - {fileID: 4021462699733782094} +--- !u!1 &2547250227687419543 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 646410454267474446} + - component: {fileID: 5743582356663611663} + - component: {fileID: 3963681262794158519} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &646410454267474446 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2547250227687419543} + 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: 1544202966231039353} + - {fileID: 8349121126867190334} + - {fileID: 1965407475630846046} + - {fileID: 3009395961000615296} + m_Father: {fileID: 8398849166858808229} + 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: 195.34} + m_SizeDelta: {x: 983.45, y: 348.78} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5743582356663611663 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2547250227687419543} + m_CullTransparentMesh: 1 +--- !u!114 &3963681262794158519 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2547250227687419543} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + 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: -8971143343992950655, guid: f041c7586c4b2bc4983b6179583b68ee, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &4048333168617246178 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1965407475630846046} + - component: {fileID: 2167666312837124680} + - component: {fileID: 3660385485695017152} + - component: {fileID: 3370058135805085568} + m_Layer: 5 + m_Name: revenge button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1965407475630846046 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4048333168617246178} + 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: 4151394955855585078} + m_Father: {fileID: 646410454267474446} + 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: -162.86, y: -107.85} + m_SizeDelta: {x: 348.04, y: 74.81} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2167666312837124680 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4048333168617246178} + m_CullTransparentMesh: 1 +--- !u!114 &3660385485695017152 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4048333168617246178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + 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: -7665177717595060222, guid: dc142ba18b2f32e46b05e49345242b5a, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3370058135805085568 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4048333168617246178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1ddd05afdaed0524683440222de17e73, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::DrawAgainButton + switchDuration: 0 + enabledScale: 1.1 + disabledScale: 0.9 + ease: 1 + background: {fileID: 3660385485695017152} + texts: + - {fileID: 1722276567393435007} +--- !u!1 &4173184416090825497 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4151394955855585078} + - component: {fileID: 1094621593008598573} + - component: {fileID: 1722276567393435007} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4151394955855585078 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4173184416090825497} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.0919, y: 1.0919, z: 1.0919} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1965407475630846046} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 180.67995, y: -37.405003} + m_SizeDelta: {x: 283.46, y: 33.43} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1094621593008598573 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4173184416090825497} + m_CullTransparentMesh: 1 +--- !u!114 &1722276567393435007 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4173184416090825497} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u0415\u0449\u0435 \u0440\u0430\u0437" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 25.7 + m_fontSizeBase: 32 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 0 + m_fontSizeMax: 64 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &4794909137195408355 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1544202966231039353} + - component: {fileID: 1896707810148480158} + - component: {fileID: 2878712667850701209} + m_Layer: 5 + m_Name: Title Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1544202966231039353 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4794909137195408355} + 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: 646410454267474446} + 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: -139.1, y: 131.27} + m_SizeDelta: {x: 185.98, y: 37.34} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1896707810148480158 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4794909137195408355} + m_CullTransparentMesh: 1 +--- !u!114 &2878712667850701209 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4794909137195408355} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u043D\u0438\u0447\u044C\u044F?" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 26.6 + m_fontSizeBase: 26.6 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 16 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5619615106049236541 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 329248299330250959} + - component: {fileID: 6790436307766271508} + - component: {fileID: 3676790911990693413} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &329248299330250959 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5619615106049236541} + 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: 8398849166858808229} + 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 &6790436307766271508 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5619615106049236541} + m_CullTransparentMesh: 1 +--- !u!114 &3676790911990693413 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5619615106049236541} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0.78431374} + 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: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &5791163811792447836 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8349121126867190334} + - component: {fileID: 5447798603693310289} + - component: {fileID: 7391737387011421731} + m_Layer: 5 + m_Name: Description Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8349121126867190334 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5791163811792447836} + 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: 646410454267474446} + 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: 8.899999, y: 26.26005} + m_SizeDelta: {x: 1042.82, y: 83.4} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5447798603693310289 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5791163811792447836} + m_CullTransparentMesh: 1 +--- !u!114 &7391737387011421731 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5791163811792447836} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u041D\u0438\u0447\u044C\u044F!" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 22f2885a5e6fc644bb1a6897b25d458a, type: 2} + m_sharedMaterial: {fileID: -184755688813310951, guid: 22f2885a5e6fc644bb1a6897b25d458a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 83.7 + m_fontSizeBase: 83.7 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 16 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1001 &5042719451267021168 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 646410454267474446} + m_Modifications: + - target: {fileID: 1934240577319909423, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_Name + value: menu button + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_SizeDelta.x + value: 313.21 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_SizeDelta.y + value: 73.857 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchoredPosition.x + value: 180.4 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchoredPosition.y + value: -108.326 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} +--- !u!224 &3009395961000615296 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + m_PrefabInstance: {fileID: 5042719451267021168} + m_PrefabAsset: {fileID: 0} +--- !u!114 &4021462699733782094 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8229287748664866622, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + m_PrefabInstance: {fileID: 5042719451267021168} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1517e2526bda7745a3a372ae8b81849, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::GotoMenuButton diff --git a/Assets/Prefabs/Gameplay/Panels/Draw.prefab.meta b/Assets/Prefabs/Gameplay/Panels/Draw.prefab.meta new file mode 100644 index 0000000..a6a4362 --- /dev/null +++ b/Assets/Prefabs/Gameplay/Panels/Draw.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5c7519dd1985416449513fd70e70071b +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Gameplay/Panels/Win PvE.prefab b/Assets/Prefabs/Gameplay/Panels/Win PvE.prefab new file mode 100644 index 0000000..eb143a5 --- /dev/null +++ b/Assets/Prefabs/Gameplay/Panels/Win PvE.prefab @@ -0,0 +1,1050 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1168980426962271767 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1175328637678551608} + - component: {fileID: 2802307790625682211} + - component: {fileID: 4482750641332330609} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1175328637678551608 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1168980426962271767} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.0919, y: 1.0919, z: 1.0919} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 3645007709007113552} + 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 &2802307790625682211 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1168980426962271767} + m_CullTransparentMesh: 1 +--- !u!114 &4482750641332330609 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1168980426962271767} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C!" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 26 + m_fontSizeBase: 26 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 0 + m_fontSizeMax: 64 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &1296400134689427692 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3645007709007113552} + - component: {fileID: 4018958654308781894} + - component: {fileID: 1954388138338729422} + - component: {fileID: 3065171460384198511} + m_Layer: 5 + m_Name: Continue button + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3645007709007113552 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296400134689427692} + 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: 1175328637678551608} + m_Father: {fileID: 6971097839867871273} + 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: -15.9, y: -255} + m_SizeDelta: {x: 348.04, y: 74.81} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4018958654308781894 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296400134689427692} + m_CullTransparentMesh: 1 +--- !u!114 &1954388138338729422 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296400134689427692} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + 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: -7665177717595060222, guid: dc142ba18b2f32e46b05e49345242b5a, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3065171460384198511 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1296400134689427692} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e80f16afffb929b4d92dbbe594a7a88f, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PveLossButton + switchDuration: 0.2 + enabledScale: 1.1 + disabledScale: 0.9 + ease: 1 + background: {fileID: 1954388138338729422} + texts: + - {fileID: 4482750641332330609} +--- !u!1 &2433032975725772464 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7158168724219749054} + - component: {fileID: 5685175627380387278} + - component: {fileID: 5751546337732062141} + m_Layer: 5 + m_Name: Description Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7158168724219749054 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2433032975725772464} + 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: 6971097839867871273} + 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: 8.899999, y: 26.26005} + m_SizeDelta: {x: 1042.82, y: 83.4} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &5685175627380387278 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2433032975725772464} + m_CullTransparentMesh: 1 +--- !u!114 &5751546337732062141 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2433032975725772464} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A \u043F\u043E\u0432\u0435\u0440\u0436\u0435\u043D" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 22f2885a5e6fc644bb1a6897b25d458a, type: 2} + m_sharedMaterial: {fileID: -184755688813310951, guid: 22f2885a5e6fc644bb1a6897b25d458a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 70.1 + m_fontSizeBase: 70.1 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 16 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &3592273512374702930 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5942015224142013613} + - component: {fileID: 6865303362732217521} + - component: {fileID: 3629387954887077943} + m_Layer: 5 + m_Name: Moves + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5942015224142013613 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3592273512374702930} + 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: 6971097839867871273} + 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: -135.67, y: -99.09999} + m_SizeDelta: {x: 271.33, y: 39.62} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &6865303362732217521 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3592273512374702930} + m_CullTransparentMesh: 1 +--- !u!114 &3629387954887077943 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3592273512374702930} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u0445\u043E\u0434\u044B: 0" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 25.4 + m_fontSizeBase: 25.4 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 0 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5561493724616524275 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 569658495540443855} + - component: {fileID: 1423212928444040588} + - component: {fileID: 1644669146565568264} + m_Layer: 5 + m_Name: Win PvE + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &569658495540443855 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5561493724616524275} + 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: 8818796653849750838} + - {fileID: 6971097839867871273} + m_Father: {fileID: 0} + 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 &1423212928444040588 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5561493724616524275} + m_CullTransparentMesh: 1 +--- !u!114 &1644669146565568264 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5561493724616524275} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c875d33ce5eb93b49a8fc47ccc72343b, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PveWinPanel + panel: {fileID: 6971097839867871273} + startPanelX: -1500 + shownPanelX: 0 + hiddenPanelX: 1500 + description: {fileID: 7158168724219749054} + background: {fileID: 6107123623169698983} + backgroundEnabledColor: {r: 0, g: 0, b: 0, a: 0.78431374} + backgroundDisabledColor: {r: 0, g: 0, b: 0, a: 0} + moves: {fileID: 3629387954887077943} + time: {fileID: 7370723466760017544} + elasticCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 3.3265033 + outSlope: 3.3265033 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0.09685003 + - serializedVersion: 3 + time: 0.5913489 + value: 1.0537547 + inSlope: -0.08538857 + outSlope: -0.08538857 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.40856364 + outWeight: 0.6827316 + - serializedVersion: 3 + time: 0.7950607 + value: 0.85623163 + inSlope: -0.026630348 + outSlope: -0.026630348 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 1 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + continueButton: {fileID: 3065171460384198511} +--- !u!1 &6223563161430662700 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6971097839867871273} + - component: {fileID: 2693181311961254364} + - component: {fileID: 5009060018828214557} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6971097839867871273 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6223563161430662700} + 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: 4607975010045061329} + - {fileID: 7158168724219749054} + - {fileID: 5942015224142013613} + - {fileID: 8125629357579255678} + - {fileID: 3645007709007113552} + m_Father: {fileID: 569658495540443855} + 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: 195.34} + m_SizeDelta: {x: 985.59, y: 349.55} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2693181311961254364 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6223563161430662700} + m_CullTransparentMesh: 1 +--- !u!114 &5009060018828214557 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6223563161430662700} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + 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: -8971143343992950655, guid: f041c7586c4b2bc4983b6179583b68ee, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &7911332709415707234 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4607975010045061329} + - component: {fileID: 4573239188846094513} + - component: {fileID: 5029476110916058088} + m_Layer: 5 + m_Name: Title Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4607975010045061329 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7911332709415707234} + 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: 6971097839867871273} + 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: -139.1, y: 131.27} + m_SizeDelta: {x: 185.98, y: 37.34} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4573239188846094513 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7911332709415707234} + m_CullTransparentMesh: 1 +--- !u!114 &5029476110916058088 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7911332709415707234} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u043F\u043E\u0431\u0435\u0434\u0430" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 26.6 + m_fontSizeBase: 26.6 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 16 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &8061629017120430709 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8818796653849750838} + - component: {fileID: 4707149044186345264} + - component: {fileID: 6107123623169698983} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8818796653849750838 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8061629017120430709} + 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: 569658495540443855} + 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 &4707149044186345264 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8061629017120430709} + m_CullTransparentMesh: 1 +--- !u!114 &6107123623169698983 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8061629017120430709} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0.78431374} + 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: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &8584696991910591847 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8125629357579255678} + - component: {fileID: 756142700756485418} + - component: {fileID: 7370723466760017544} + m_Layer: 5 + m_Name: Time + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8125629357579255678 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8584696991910591847} + 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: 6971097839867871273} + 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: 235.46, y: -99.09999} + m_SizeDelta: {x: 318.11, y: 39.62} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &756142700756485418 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8584696991910591847} + m_CullTransparentMesh: 1 +--- !u!114 &7370723466760017544 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8584696991910591847} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u0432\u0440\u0435\u043C\u044F: 33:66" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 25.4 + m_fontSizeBase: 25.4 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 0 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} diff --git a/Assets/Prefabs/Gameplay/Panels/Win PvE.prefab.meta b/Assets/Prefabs/Gameplay/Panels/Win PvE.prefab.meta new file mode 100644 index 0000000..bfcb60b --- /dev/null +++ b/Assets/Prefabs/Gameplay/Panels/Win PvE.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f2c5a6d7bb54f704992c027f07dccef2 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Gameplay/Panels/Win PvP.prefab b/Assets/Prefabs/Gameplay/Panels/Win PvP.prefab new file mode 100644 index 0000000..8d18c82 --- /dev/null +++ b/Assets/Prefabs/Gameplay/Panels/Win PvP.prefab @@ -0,0 +1,862 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2060587443466974053 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6732582960773365060} + - component: {fileID: 7788347607660999582} + - component: {fileID: 6315707052089406967} + m_Layer: 5 + m_Name: Panel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6732582960773365060 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060587443466974053} + 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: 8900100310315653337} + - {fileID: 1751632603625991634} + - {fileID: 1958760770643983365} + - {fileID: 5620071450350285851} + m_Father: {fileID: 1947706142243708877} + 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: 195.34} + m_SizeDelta: {x: 983.45, y: 348.78} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7788347607660999582 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060587443466974053} + m_CullTransparentMesh: 1 +--- !u!114 &6315707052089406967 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2060587443466974053} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + 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: -8971143343992950655, guid: f041c7586c4b2bc4983b6179583b68ee, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &6036813511561982274 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8900100310315653337} + - component: {fileID: 4473802457666838784} + - component: {fileID: 3131393283926263742} + m_Layer: 5 + m_Name: Title Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8900100310315653337 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6036813511561982274} + 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: 6732582960773365060} + 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: -139.1, y: 131.27} + m_SizeDelta: {x: 185.98, y: 37.34} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4473802457666838784 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6036813511561982274} + m_CullTransparentMesh: 1 +--- !u!114 &3131393283926263742 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6036813511561982274} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u043F\u043E\u0431\u0435\u0434\u0430" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_sharedMaterial: {fileID: -7443843586772838647, guid: 4f645b7426b379248bf44c703f8fbd2a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4278190080 + m_fontColor: {r: 0, g: 0, b: 0, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 26.6 + m_fontSizeBase: 26.6 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 16 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &6628240627446046629 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1751632603625991634} + - component: {fileID: 3942136280187010955} + - component: {fileID: 2049778926892030323} + m_Layer: 5 + m_Name: Description Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1751632603625991634 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6628240627446046629} + 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: 6732582960773365060} + 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: 8.899999, y: 26.26005} + m_SizeDelta: {x: 1042.82, y: 83.4} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3942136280187010955 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6628240627446046629} + m_CullTransparentMesh: 1 +--- !u!114 &2049778926892030323 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6628240627446046629} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI + 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_text: "\u0438\u0433\u0440\u043E\u043A 1 \u043F\u043E\u0431\u0435\u0434\u0438\u043B" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 22f2885a5e6fc644bb1a6897b25d458a, type: 2} + m_sharedMaterial: {fileID: -184755688813310951, guid: 22f2885a5e6fc644bb1a6897b25d458a, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 83.7 + m_fontSizeBase: 83.7 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 16 + m_fontSizeMax: 64 + m_fontStyle: 16 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_characterHorizontalScale: 1 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &6717214254861933203 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1947706142243708877} + - component: {fileID: 2367099571300376270} + - component: {fileID: 406993410272815958} + m_Layer: 5 + m_Name: Win PvP + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1947706142243708877 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6717214254861933203} + 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: 4746427370107856193} + - {fileID: 6732582960773365060} + m_Father: {fileID: 0} + 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 &2367099571300376270 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6717214254861933203} + m_CullTransparentMesh: 1 +--- !u!114 &406993410272815958 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6717214254861933203} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 530e00f984aa03c4e84c74a40059e119, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PvpWinPanel + panel: {fileID: 6732582960773365060} + startPanelX: -1500 + shownPanelX: 0 + hiddenPanelX: 1500 + description: {fileID: 1751632603625991634} + revengeButton: {fileID: 5409815649906459607} + menuButton: {fileID: 6048932019394783189} + background: {fileID: 9132444850259416783} + backgroundEnabledColor: {r: 0, g: 0, b: 0, a: 0.78431374} + backgroundDisabledColor: {r: 0, g: 0, b: 0, a: 0} + elasticCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 3.3265033 + outSlope: 3.3265033 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0.09685003 + - serializedVersion: 3 + time: 0.5913489 + value: 1.0537547 + inSlope: -0.08538857 + outSlope: -0.08538857 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.40856364 + outWeight: 0.6827316 + - serializedVersion: 3 + time: 0.7950607 + value: 0.85623163 + inSlope: -0.026630348 + outSlope: -0.026630348 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 1 + - serializedVersion: 3 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + buttons: + - {fileID: 5409815649906459607} + - {fileID: 6048932019394783189} +--- !u!1 &8191931092391745016 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4746427370107856193} + - component: {fileID: 3347736097181556509} + - component: {fileID: 9132444850259416783} + m_Layer: 5 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4746427370107856193 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8191931092391745016} + 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: 1947706142243708877} + 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 &3347736097181556509 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8191931092391745016} + m_CullTransparentMesh: 1 +--- !u!114 &9132444850259416783 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8191931092391745016} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 0.78431374} + 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: 0} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1001 &2433722826497691883 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 6732582960773365060} + m_Modifications: + - target: {fileID: 1934240577319909423, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_Name + value: menu button + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_SizeDelta.x + value: 313.21 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_SizeDelta.y + value: 73.857 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchoredPosition.x + value: 180.4 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_AnchoredPosition.y + value: -108.326 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} +--- !u!224 &5620071450350285851 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7798214962221343984, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + m_PrefabInstance: {fileID: 2433722826497691883} + m_PrefabAsset: {fileID: 0} +--- !u!114 &6048932019394783189 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8229287748664866622, guid: 7be014d367dc2e1408a34e643b46efd1, type: 3} + m_PrefabInstance: {fileID: 2433722826497691883} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1517e2526bda7745a3a372ae8b81849, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::GotoMenuButton +--- !u!1001 &2611606397583474509 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 6732582960773365060} + m_Modifications: + - target: {fileID: 1285729275234505402, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_fontSize + value: 23.5 + objectReference: {fileID: 0} + - target: {fileID: 2051590405814664948, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_Name + value: revenge button + objectReference: {fileID: 0} + - target: {fileID: 2146687310847847456, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2146687310847847456, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2146687310847847456, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2146687310847847456, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2146687310847847456, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2146687310847847456, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3305016882671206316, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3305016882671206316, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3305016882671206316, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3305016882671206316, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3305016882671206316, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3305016882671206316, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3724730201767448169, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_text + value: "\u0435\u0449\u0435 \u0440\u0430\u0437" + objectReference: {fileID: 0} + - target: {fileID: 3724730201767448169, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_fontSize + value: 23.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.x + value: 348.04 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.y + value: 74.81 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.x + value: -162.86 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.y + value: -107.85 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4561252498154564428, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4561252498154564428, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4561252498154564428, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4561252498154564428, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4561252498154564428, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4561252498154564428, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5621009149773953795, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_AnchoredPosition.x + value: 2.069992 + objectReference: {fileID: 0} + - target: {fileID: 6973696674883183671, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + propertyPath: m_fontSize + value: 23.5 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 557c00588450b594a927dd0a02259ccd, type: 3} +--- !u!224 &1958760770643983365 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 4544308652318507848, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + m_PrefabInstance: {fileID: 2611606397583474509} + m_PrefabAsset: {fileID: 0} +--- !u!114 &5409815649906459607 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8011284185176063130, guid: 557c00588450b594a927dd0a02259ccd, type: 3} + m_PrefabInstance: {fileID: 2611606397583474509} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 037529eb445df784099968d77894e992, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::RevengeButton diff --git a/Assets/Prefabs/Gameplay/Panels/Win PvP.prefab.meta b/Assets/Prefabs/Gameplay/Panels/Win PvP.prefab.meta new file mode 100644 index 0000000..1641a7e --- /dev/null +++ b/Assets/Prefabs/Gameplay/Panels/Win PvP.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8a4bc6e43059b1644a867977f7509306 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/GameScene3D.unity b/Assets/Scenes/GameScene3D.unity index 8720d04..ea24f64 100644 --- a/Assets/Scenes/GameScene3D.unity +++ b/Assets/Scenes/GameScene3D.unity @@ -1064,7 +1064,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d5793ef5705258b41b327430fe3c351e, type: 3} m_Name: m_EditorClassIdentifier: - material: {fileID: 4262305343556741190, guid: 1ee9f3e03c52c304b8c831dc7aed5fa0, type: 2} + material: {fileID: 0} speed: 0.6 min: 1 max: 1 @@ -3282,7 +3282,7 @@ MonoBehaviour: chipSprite: {fileID: 21300000, guid: 2194de45dbf1e8c46a827a05cdd2d905, type: 3} k__BackingField: 2 prepareSpeed: 30 - moveSpeed: 10 + moveSpeed: 50 difficultyPreset: {fileID: 11400000, guid: 1c381d73d66d6254d8e6326516732d27, type: 2} useDummyBots: 0 minThinkingTime: 2 @@ -4316,6 +4316,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: f7668d2cc6a5cfd4db6e4fb4d83dd1a3, type: 3} m_Name: m_EditorClassIdentifier: Assembly-CSharp::EndGameHandler + winPanel: {fileID: 5674543444192711823} + lossPanel: {fileID: 4928797679491293976} + pvpWinPanel: {fileID: 3489349684416202942} + drawPanel: {fileID: 0} --- !u!4 &240039284 Transform: m_ObjectHideFlags: 0 @@ -4365,7 +4369,7 @@ MonoBehaviour: k__BackingField: 2 chipYOffset: 5 prepareSpeed: 30 - moveSpeed: 10 + moveSpeed: 50 leftButtons: 03000000 rightButtons: 01000000 actionButtons: 04000000 @@ -4622,6 +4626,7 @@ GameObject: - component: {fileID: 259182290} - component: {fileID: 259182291} - component: {fileID: 259182293} + - component: {fileID: 259182294} m_Layer: 0 m_Name: '[GAME MANAGER]' m_TagString: Untagged @@ -4675,6 +4680,7 @@ MonoBehaviour: menuGameplayTransit: {fileID: 29868612} turnManager: {fileID: 1329752846} endGameHandler: {fileID: 240039283} + turnTracker: {fileID: 259182294} setPasswordPanel: {fileID: 131572818} vitrinaPanel: {fileID: 61619038} qrPanel: {fileID: 1060301113} @@ -4830,6 +4836,18 @@ MonoBehaviour: Title: {fileID: 1645472013} Message: {fileID: 2109370311} Image: {fileID: 1683726654} +--- !u!114 &259182294 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 259182278} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5634e7b583daa7e449c04046c12f330a, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::TurnTracker --- !u!1 &272024950 GameObject: m_ObjectHideFlags: 0 @@ -5437,7 +5455,7 @@ MonoBehaviour: k__BackingField: 1 chipYOffset: 5 prepareSpeed: 30 - moveSpeed: 10 + moveSpeed: 50 leftButtons: 03000000 rightButtons: 01000000 actionButtons: 04000000 @@ -17979,6 +17997,9 @@ RectTransform: - {fileID: 61619037} - {fileID: 1956417152} - {fileID: 4928797679491293975} + - {fileID: 8566298168384539294} + - {fileID: 3489349684416202941} + - {fileID: 5674543444192711822} - {fileID: 1049084793056958207} - {fileID: 365101956} m_Father: {fileID: 0} @@ -25872,10 +25893,10 @@ MonoBehaviour: charactersContainer: {fileID: 365101956} charactersPool: {fileID: 963346424} characterPrefabs: + - {fileID: 8873348988979391587, guid: 8813a05b560fe74499373105c065d482, type: 3} - {fileID: 8873348988979391587, guid: dbde6acf97979cd4caaca68f83b75d64, type: 3} - {fileID: 8873348988979391587, guid: 280922cd1d9e3ef44bdbfe757f8cfdef, type: 3} - {fileID: 8873348988979391587, guid: b1bd71cccf32b4c4a94b2ff65361e9fe, type: 3} - - {fileID: 8873348988979391587, guid: 8813a05b560fe74499373105c065d482, type: 3} - {fileID: 8873348988979391587, guid: 4b7845a03cf955e4488f4e3286f11b60, type: 3} hiddenLocalPosition: {x: 2000, y: 0} shownLocalPosition: {x: 0, y: 0} @@ -37213,6 +37234,183 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: ace8bd0ee13b50b45ba6026744081ef2, type: 3} +--- !u!1001 &2096563069177751442 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1081324697} + m_Modifications: + - target: {fileID: 687890019364064442, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 687890019364064442, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 687890019364064442, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 687890019364064442, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 687890019364064442, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 687890019364064442, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1722276567393435007, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_fontSize + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1953143803580766298, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1953143803580766298, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1953143803580766298, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1953143803580766298, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1953143803580766298, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1953143803580766298, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2340526195833056488, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_Name + value: Draw + objectReference: {fileID: 0} + - target: {fileID: 2340526195833056488, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4151394955855585078, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4151394955855585078, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4151394955855585078, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4151394955855585078, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4151394955855585078, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4151394955855585078, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 5c7519dd1985416449513fd70e70071b, type: 3} --- !u!1 &2253736680806208210 GameObject: m_ObjectHideFlags: 0 @@ -37507,6 +37705,22 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 3909896485309970771} m_CullTransparentMesh: 1 +--- !u!224 &3489349684416202941 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + m_PrefabInstance: {fileID: 8195956576376697812} + m_PrefabAsset: {fileID: 0} +--- !u!114 &3489349684416202942 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 406993410272815958, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + m_PrefabInstance: {fileID: 8195956576376697812} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 530e00f984aa03c4e84c74a40059e119, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PvpWinPanel --- !u!114 &3866344807942507566 MonoBehaviour: m_ObjectHideFlags: 0 @@ -37920,6 +38134,17 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 9178296791575972612, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} m_PrefabInstance: {fileID: 8588111845348132420} m_PrefabAsset: {fileID: 0} +--- !u!114 &4928797679491293976 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8505923519972849031, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} + m_PrefabInstance: {fileID: 8588111845348132420} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cbcfdbb18f10e58428fb67dca6b35cfc, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PveLossPanel --- !u!1001 &5041553860221999073 PrefabInstance: m_ObjectHideFlags: 0 @@ -38017,6 +38242,22 @@ PrefabInstance: m_AddedGameObjects: [] m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 36522aeb3edb1f14eb882ff35e1a57bd, type: 3} +--- !u!224 &5674543444192711822 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + m_PrefabInstance: {fileID: 7142154838005318155} + m_PrefabAsset: {fileID: 0} +--- !u!114 &5674543444192711823 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 1644669146565568264, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + m_PrefabInstance: {fileID: 7142154838005318155} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c875d33ce5eb93b49a8fc47ccc72343b, type: 3} + m_Name: + m_EditorClassIdentifier: Assembly-CSharp::PveWinPanel --- !u!1001 &5981068812792107923 PrefabInstance: m_ObjectHideFlags: 0 @@ -38526,6 +38767,107 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 8752651682790280933} m_CullTransparentMesh: 1 +--- !u!1001 &7142154838005318155 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1081324697} + m_Modifications: + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 569658495540443855, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5561493724616524275, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_Name + value: Win PvE + objectReference: {fileID: 0} + - target: {fileID: 5561493724616524275, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: f2c5a6d7bb54f704992c027f07dccef2, type: 3} --- !u!114 &7720320582853586464 MonoBehaviour: m_ObjectHideFlags: 0 @@ -38571,6 +38913,179 @@ MonoBehaviour: DisabledColor: {r: 0.16981131, g: 0.16981131, b: 0.16981131, a: 1} HsvSpeed: 0.2 StartAcceptingClip: {fileID: 8300000, guid: 7fb340d179cafc04cb2e4baa2ddde96f, type: 3} +--- !u!1001 &8195956576376697812 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 1081324697} + m_Modifications: + - target: {fileID: 712568706438299873, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 712568706438299873, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 712568706438299873, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.x + value: 65.10729 + objectReference: {fileID: 0} + - target: {fileID: 712568706438299873, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.y + value: 30.55 + objectReference: {fileID: 0} + - target: {fileID: 712568706438299873, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.x + value: 250.90634 + objectReference: {fileID: 0} + - target: {fileID: 712568706438299873, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.y + value: -16.715 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1947706142243708877, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1977811229217133569, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1977811229217133569, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1977811229217133569, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.x + value: 65.10729 + objectReference: {fileID: 0} + - target: {fileID: 1977811229217133569, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.y + value: 30.55 + objectReference: {fileID: 0} + - target: {fileID: 1977811229217133569, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.x + value: 165.79906 + objectReference: {fileID: 0} + - target: {fileID: 1977811229217133569, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.y + value: -16.715 + objectReference: {fileID: 0} + - target: {fileID: 4176203078501208941, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4176203078501208941, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4176203078501208941, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.x + value: 113.24541 + objectReference: {fileID: 0} + - target: {fileID: 4176203078501208941, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_SizeDelta.y + value: 33.43 + objectReference: {fileID: 0} + - target: {fileID: 4176203078501208941, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.x + value: 56.622704 + objectReference: {fileID: 0} + - target: {fileID: 4176203078501208941, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_AnchoredPosition.y + value: -16.715 + objectReference: {fileID: 0} + - target: {fileID: 6717214254861933203, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_Name + value: Win PvP + objectReference: {fileID: 0} + - target: {fileID: 6717214254861933203, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 8a4bc6e43059b1644a867977f7509306, type: 3} --- !u!224 &8549428697360486891 RectTransform: m_ObjectHideFlags: 0 @@ -38594,6 +39109,11 @@ RectTransform: m_AnchoredPosition: {x: 405, y: -156.545} m_SizeDelta: {x: 350, y: 270} m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &8566298168384539294 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 8398849166858808229, guid: 5c7519dd1985416449513fd70e70071b, type: 3} + m_PrefabInstance: {fileID: 2096563069177751442} + m_PrefabAsset: {fileID: 0} --- !u!1001 &8588111845348132420 PrefabInstance: m_ObjectHideFlags: 0 @@ -38606,77 +39126,81 @@ PrefabInstance: propertyPath: m_Name value: Loss objectReference: {fileID: 0} + - target: {fileID: 692335900938401466, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 5544866098104471712, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 5544866098104471712, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 5544866098104471712, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 110.65478 objectReference: {fileID: 0} - target: {fileID: 5544866098104471712, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 31.14 objectReference: {fileID: 0} - target: {fileID: 5544866098104471712, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 55.32739 objectReference: {fileID: 0} - target: {fileID: 5544866098104471712, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -16.715 objectReference: {fileID: 0} - target: {fileID: 7959285585224308684, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 7959285585224308684, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 7959285585224308684, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 66.4026 objectReference: {fileID: 0} - target: {fileID: 7959285585224308684, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 31.14 objectReference: {fileID: 0} - target: {fileID: 7959285585224308684, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 163.85608 objectReference: {fileID: 0} - target: {fileID: 7959285585224308684, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -16.715 objectReference: {fileID: 0} - target: {fileID: 8999324220713993004, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8999324220713993004, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8999324220713993004, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 66.4026 objectReference: {fileID: 0} - target: {fileID: 8999324220713993004, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 31.14 objectReference: {fileID: 0} - target: {fileID: 8999324220713993004, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 250.2587 objectReference: {fileID: 0} - target: {fileID: 8999324220713993004, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -16.715 objectReference: {fileID: 0} - target: {fileID: 9178296791575972612, guid: f99466ff04084264e9e9fc17b47090bf, type: 3} propertyPath: m_Pivot.x diff --git a/Assets/Scripts/Bootstrap.cs b/Assets/Scripts/Bootstrap.cs index a115f38..f4272ec 100644 --- a/Assets/Scripts/Bootstrap.cs +++ b/Assets/Scripts/Bootstrap.cs @@ -1,7 +1,6 @@ using PrizeSystem; using System.Text; using UnityEngine; -using static UnityEngine.Rendering.DebugUI.Table; public class Bootstrap : MonoBehaviour { @@ -22,14 +21,13 @@ public class Bootstrap : MonoBehaviour [SerializeField] private CharactersController characterController; [SerializeField] private CharacterEventBus characterEventBus; - //[SerializeField] private CountersCollector countersCollector; [SerializeField] private Defender defender; - // [SerializeField] private ControlsPerformer controlsPerformer; [SerializeField] private MenuLayoutController menu; [SerializeField] private SettingsScheme defaultSettings; + private void Awake() => Initialize(); private void Initialize() @@ -42,8 +40,6 @@ public class Bootstrap : MonoBehaviour soundManager.Initialize(); - - ConfigManager.Initialize(); UnityMainThreadDispatcher.Initialize(); @@ -73,13 +69,11 @@ public class Bootstrap : MonoBehaviour gameManager.Initialize(); board.Init(); chipPool.Init(chipPrefab, 30); - //countersCollector.Initialize(); menu.Initialize(); controlsPerformer.Initialize(); controlsPerformer.SetControlable(menu); - Destroy(gameObject); } @@ -106,7 +100,6 @@ public class Bootstrap : MonoBehaviour } Debug.Log(sb.ToString()); - bool controllerFound = false; string vitrinaPort = null; foreach (var device in devices) @@ -150,4 +143,4 @@ public class Bootstrap : MonoBehaviour PrizeStandController.Initialize(h, 5); } } -} +} \ No newline at end of file diff --git a/Assets/Scripts/Common/GameManager.cs b/Assets/Scripts/Common/GameManager.cs index d7fa359..e206872 100644 --- a/Assets/Scripts/Common/GameManager.cs +++ b/Assets/Scripts/Common/GameManager.cs @@ -67,14 +67,11 @@ public class GameManager : MonoBehaviour [SerializeField] TurnManager turnManager; public EndGameHandler endGameHandler; - //public PvpPointer pvpPointer; - //public MovesAndTimeCounter movesAndTimeCounter; + public TurnTracker turnTracker; public GameObject setPasswordPanel; //public EnterPasswordPanel enterPasswordPanel; - - public VitrinaPanel vitrinaPanel; public QrPanel qrPanel; public TakeOrRiskPanel takeOrRiskPanel; @@ -125,8 +122,9 @@ public class GameManager : MonoBehaviour } public void GotoMenu() - {//todo: реализовать переход в меню - print("ПЕРЕХОД в МЕНЮ"); + { + Board.Instance.MakeClearField(); + menuGameplayTransit.GotoMenu(); } public void StartVsBotTimer() => increaseVsBotTimer = true; @@ -159,6 +157,12 @@ public class GameManager : MonoBehaviour print("Переход в реванш"); } + public void PerformDrawRevenge() + { + //тут надо в зависимости от режима. pvp платно pve бесплатно. + print("Реванш(ничья)"); + } + public void IncreaseScore(Team player) { if (player == Team.Player1) diff --git a/Assets/Scripts/Common/Inputs/In.cs b/Assets/Scripts/Common/Inputs/In.cs index 0e6bc9e..1402486 100644 --- a/Assets/Scripts/Common/Inputs/In.cs +++ b/Assets/Scripts/Common/Inputs/In.cs @@ -6,7 +6,7 @@ public class In : MonoBehaviour [Header("Выбор источника управления")] static InputSource source; - + public void Initialize() { #if UNITY_EDITOR @@ -19,6 +19,77 @@ public class In : MonoBehaviour if (!success) Debug.LogWarning("Не удалось проинициалзировать источник управления."); } + public static int GetAxis(Axis axis, JoystickSide side) + { + if (axis == Axis.Horizontal) return GetHorizontalAxis(side); + else if (axis == Axis.Vertical) return GetVerticalAxis(side); + else return 0; + } + + private static int GetHorizontalAxis(JoystickSide side) + { + int dir = 0; + + if (side == JoystickSide.Both) + { + if (GetButtonDown(InSignal.left1) || GetButtonDown(InSignal.left2)) dir -= 1; + if (GetButtonDown(InSignal.right1) || GetButtonDown(InSignal.right2)) dir += 1; + return dir; + } + else + { + InSignal left = side switch + { + JoystickSide.Left => InSignal.left1, + JoystickSide.Right => InSignal.left2, + }; + + InSignal right = side switch + { + JoystickSide.Left => InSignal.right1, + JoystickSide.Right => InSignal.right2, + }; + + if (GetButtonDown(left)) dir -= 1; + if (GetButtonDown(right)) dir += 1; + + return dir; + } + } + + private static int GetVerticalAxis(JoystickSide side) + { + int dir = 0; + + if (side == JoystickSide.Both) + { + if (GetButtonDown(InSignal.down1) || GetButtonDown(InSignal.down2)) dir -= 1; + if (GetButtonDown(InSignal.up1) || GetButtonDown(InSignal.up2)) dir += 1; + return dir; + } + else + { + InSignal downSignal = side switch + { + JoystickSide.Left => InSignal.down1, + JoystickSide.Right => InSignal.down2, + }; + + InSignal upSignal = side switch + { + JoystickSide.Left => InSignal.up1, + JoystickSide.Right => InSignal.up2, + }; + + if (GetButtonDown(downSignal)) dir -= 1; + if (GetButtonDown(upSignal)) dir += 1; + + return dir; + } + } + + + public static bool GetButton(InSignal button) => source.GetButton(button); public static bool GetButtonDown(InSignal button) => source.GetButtonDown(button); @@ -39,7 +110,7 @@ public class In : MonoBehaviour public static bool GetButtonDown(int pinindex) => source.GetButtonDown(pinindex); public static bool GetButtonUp(int pinindex) => source.GetButtonUp(pinindex); - + public static bool GetButtonAnyPlayer(PlayerAction button) => source.GetButtonAnyPlayer(button); public static bool GetButtonDownAnyPlayer(PlayerAction button) => source.GetButtonDownAnyPlayer(button); @@ -53,4 +124,17 @@ public class In : MonoBehaviour public static bool GetButtonUpCurrentPlayer(PlayerAction button) => source.GetButtonUpCurrentPlayer(button); public static bool AnyButton() => source.AnyButton(); +} + +public enum Axis +{ + Horizontal, + Vertical +} + +public enum JoystickSide +{ + Left, + Right, + Both } \ No newline at end of file diff --git a/Assets/Scripts/Gameplay/EndGameHandler.cs b/Assets/Scripts/Gameplay/EndGameHandler.cs index f312e05..6a33e4a 100644 --- a/Assets/Scripts/Gameplay/EndGameHandler.cs +++ b/Assets/Scripts/Gameplay/EndGameHandler.cs @@ -1,8 +1,15 @@ -using System.Collections.Generic; +using DG.Tweening; +using System.Collections.Generic; using UnityEngine; public class EndGameHandler : MonoBehaviour { + [SerializeField] PveWinPanel winPanel; + [SerializeField] PveLossPanel lossPanel; + [SerializeField] PvpWinPanel pvpWinPanel; + [SerializeField] DrawAgainButton drawPanel; + + public void HandleEndGame(Team lastPlayer, GameMode gameMode, CheckResult lastResult) { print("Конец игры"); @@ -19,13 +26,29 @@ public class EndGameHandler : MonoBehaviour private void DrawHandler() { - print("Это ничья"); + //drawPanel.Open(); } private void WinHandler(Team winner, GameMode gameMode, HashSet<(int row, int col)> winChipsCoords) { Debug.Log($"Победа {winner}; Режим {gameMode}"); PlayWinChipsAnimation(winChipsCoords); + + if(gameMode == GameMode.pve) + { + if(winner == Team.Player1) + { + winPanel.Open(); + } + else + lossPanel.Open(); + } + else + { + pvpWinPanel.Open(); + } + + } private void PlayWinChipsAnimation(HashSet<(int row, int col)> winChipsCoords) diff --git a/Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs b/Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs new file mode 100644 index 0000000..1c611ee --- /dev/null +++ b/Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs @@ -0,0 +1,14 @@ +using UnityEngine; + +public class DrawAgainButton : PveLossButton +{ + public override void Initialize() { } + + public override void Interact() + { + if (!interactable) return; + + base.Interact(); + GameManager.instance.PerformDrawRevenge(); + } +} diff --git a/Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs.meta b/Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs.meta new file mode 100644 index 0000000..ed7e061 --- /dev/null +++ b/Assets/Scripts/Gameplay/Panels/DrawAgainButton.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1ddd05afdaed0524683440222de17e73 \ No newline at end of file diff --git a/Assets/Scripts/Gameplay/Panels/GotoMenuButton.cs b/Assets/Scripts/Gameplay/Panels/GotoMenuButton.cs index cd670c8..d943a50 100644 --- a/Assets/Scripts/Gameplay/Panels/GotoMenuButton.cs +++ b/Assets/Scripts/Gameplay/Panels/GotoMenuButton.cs @@ -6,6 +6,7 @@ { if(!interactable) return; + base.Interact(); GameManager.instance.GotoMenu(); } } diff --git a/Assets/Scripts/Gameplay/Panels/PveLossButton.cs b/Assets/Scripts/Gameplay/Panels/PveLossButton.cs index 345845d..4ef72f8 100644 --- a/Assets/Scripts/Gameplay/Panels/PveLossButton.cs +++ b/Assets/Scripts/Gameplay/Panels/PveLossButton.cs @@ -4,7 +4,7 @@ using TMPro; using UnityEngine; using UnityEngine.UI; -public abstract class PveLossButton : MButton +public class PveLossButton : MButton { [Header("Анимация")] [SerializeField] private float switchDuration; @@ -40,4 +40,13 @@ public abstract class PveLossButton : MButton animSequence.onComplete += () => interactable = selected; animSequence.PlayForward(); } + + public override void Initialize() + { + } + + //public override void Interact() + //{ + + //} } diff --git a/Assets/Scripts/Gameplay/Panels/PveLossPanel.cs b/Assets/Scripts/Gameplay/Panels/PveLossPanel.cs index ab483ba..b8e99dd 100644 --- a/Assets/Scripts/Gameplay/Panels/PveLossPanel.cs +++ b/Assets/Scripts/Gameplay/Panels/PveLossPanel.cs @@ -1,6 +1,5 @@ using UnityEngine; using DG.Tweening; -using System; using System.Collections.Generic; using UnityEngine.UI; @@ -21,27 +20,15 @@ public class PveLossPanel : MonoBehaviour, IControlable [SerializeField] private List buttons; private int buttonIndex; - public bool ControlsEnabled { get; set; } - - private void Start() - { - ControlsPerformer.Instance.SetControlable(this); - } - private void Update() - { - if (Input.GetKeyDown(KeyCode.Alpha1)) Open(); - if (Input.GetKeyDown(KeyCode.Alpha2)) Close(); - } - public void UpdateControls() { int direction = 0; if (In.GetButtonDownAnyPlayer(PlayerAction.left)) direction -= 1; if (In.GetButtonDownAnyPlayer(PlayerAction.right)) direction += 1; - int newButtonIndex = Mathf.Clamp(buttonIndex + direction, 0, buttons.Count); + int newButtonIndex = Mathf.Clamp(buttonIndex + direction, 0, buttons.Count-1); bool indexChanged = newButtonIndex != buttonIndex; if (indexChanged) { @@ -55,7 +42,6 @@ public class PveLossPanel : MonoBehaviour, IControlable var selectedButton = buttons[buttonIndex]; selectedButton.Interact(); } - } public void Open() @@ -77,6 +63,16 @@ public class PveLossPanel : MonoBehaviour, IControlable public void Close() { + ControlsPerformer.Instance.SetControlable(null); + + foreach (var button in buttons) + button.OnInteract -= Close; + if(buttonIndex == 0) + GameManager.instance.PerformRevenge(); + else + GameManager.instance.GotoMenu(); + + if (_animation != null) { _animation.Kill(); @@ -88,6 +84,7 @@ public class PveLossPanel : MonoBehaviour, IControlable ControlsEnabled = false; revengeButton.Select(); menuButton.Deselect(); + gameObject.SetActive(false); }; _animation.PlayForward(); } @@ -97,6 +94,7 @@ public class PveLossPanel : MonoBehaviour, IControlable Sequence seq = DOTween.Sequence(); seq.Append(panel.DOAnchorPosX(hiddenPanelX, 1f).SetEase(Ease.InBack)); seq.Join(background.DOColor(backgroundDisabledColor, 2).SetEase(Ease.InCubic)); + return seq; } @@ -111,6 +109,11 @@ public class PveLossPanel : MonoBehaviour, IControlable menuButton.transform.localScale = Vector3.zero; background.color = backgroundDisabledColor; + gameObject.SetActive(true); + ControlsPerformer.Instance.SetControlable(this); + + foreach (var button in buttons) + button.OnInteract += Close; buttonIndex = 0; } @@ -123,7 +126,7 @@ public class PveLossPanel : MonoBehaviour, IControlable seq.Append(panel.DOAnchorPosX(shownPanelX, 1f).SetEase(Ease.OutBack)); //фон - seq.Join(background.DOColor(backgroundEnabledColor, 2).SetEase(Ease.OutCubic)); + seq.Join(background.DOColor(backgroundEnabledColor, 1).SetEase(Ease.OutCubic)); //текст описания seq.Append(description.DOScale(1, 0.5f).SetEase(elasticCurve)); diff --git a/Assets/Scripts/Gameplay/Panels/PveWinPanel.cs b/Assets/Scripts/Gameplay/Panels/PveWinPanel.cs new file mode 100644 index 0000000..d5e3f62 --- /dev/null +++ b/Assets/Scripts/Gameplay/Panels/PveWinPanel.cs @@ -0,0 +1,126 @@ +using DG.Tweening; +using System.Collections.Generic; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +public class PveWinPanel : MonoBehaviour, IControlable +{ + [SerializeField] private RectTransform panel; + [SerializeField] private float startPanelX, shownPanelX, hiddenPanelX; + [SerializeField] private Transform description; + [SerializeField] private Image background; + [SerializeField] private Color backgroundEnabledColor, backgroundDisabledColor; + + [SerializeField] private TextMeshProUGUI moves; + [SerializeField] private TextMeshProUGUI time; + + [SerializeField] private AnimationCurve elasticCurve; + private Sequence _animation; + + [SerializeField] private PveLossButton continueButton; + + public bool ControlsEnabled { get; set; } + + + + public void Open() + { + if (_animation != null) + { + _animation.Kill(); + } + + Initialize(); + _animation = GetOpenSequence(); + _animation.onComplete += () => + { + ControlsEnabled = true; + }; + _animation.PlayForward(); + } + + public void Close() + { + ControlsPerformer.Instance.SetControlable(null); + if (_animation != null) + { + _animation.Kill(); + } + + _animation = GetCloseSequence(); + _animation.onComplete += () => + { + gameObject.SetActive(false); + print("Функция перехода на след противника"); + }; + _animation.PlayForward(); + } + + private Sequence GetCloseSequence() + { + Sequence seq = DOTween.Sequence(); + seq.Append(continueButton.transform.DOScale(0, 0.4f).SetEase(Ease.InBack)); + seq.Append(panel.DOAnchorPosX(hiddenPanelX, 1f).SetEase(Ease.InBack)); + seq.Join(background.DOColor(backgroundDisabledColor, 2).SetEase(Ease.InCubic)); + return seq; + } + + private void Initialize() + { + ControlsEnabled = false; + + panel.anchoredPosition = new Vector2(startPanelX, panel.anchoredPosition.y); + description.localScale = Vector3.zero; + + moves.transform.localScale = Vector3.zero; + time.transform.localScale = Vector3.zero; + continueButton.transform.localScale = Vector3.zero; + + moves.text = $"ходы: {TurnTracker.Moves}"; + time.text = $"время: {TurnTracker.Timer:F2} сек."; + background.color = backgroundDisabledColor; + + ControlsPerformer.Instance.SetControlable(this); + gameObject.SetActive(true); + } + + private Sequence GetOpenSequence() + { + Sequence seq = DOTween.Sequence(); + + //приезд панели + seq.Append(panel.DOAnchorPosX(shownPanelX, 1f).SetEase(Ease.OutBack)); + //фон + seq.Join(background.DOColor(backgroundEnabledColor, 1).SetEase(Ease.OutCubic)); + + //текст описания + seq.Append(description.DOScale(1, 0.5f).SetEase(elasticCurve)); + seq.AppendInterval(0.2f); + + //вращение описания + float rotationDuration = 0.2f; + seq.Append(description.DOLocalRotate(new Vector3(0, 0, 2), rotationDuration)); + seq.Append(description.DOLocalRotate(new Vector3(0, 0, -2), rotationDuration)); + seq.Append(description.DOLocalRotate(new Vector3(0, 0, 0), rotationDuration / 2)); + + //появление надписей + seq.Append(time.transform.DOScale(1, 0.5f).SetEase(Ease.OutBack)); + seq.Join(moves.transform.DOScale(1, 0.5f).SetEase(Ease.OutBack)); + seq.Append(continueButton.transform.DOScale(1, 0.5f).SetEase(Ease.OutBack)); + seq.AppendCallback(continueButton.Select); + + return seq; + } + + public void UpdateControls() + { + if(ControlsEnabled == false) return; + + if(In.GetButtonDownAnyPlayer(PlayerAction.action)) + { + print("Кнопка нажата"); + Close(); + } + } +} diff --git a/Assets/Scripts/Gameplay/Panels/PveWinPanel.cs.meta b/Assets/Scripts/Gameplay/Panels/PveWinPanel.cs.meta new file mode 100644 index 0000000..9315536 --- /dev/null +++ b/Assets/Scripts/Gameplay/Panels/PveWinPanel.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c875d33ce5eb93b49a8fc47ccc72343b \ No newline at end of file diff --git a/Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs b/Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs new file mode 100644 index 0000000..90a95b7 --- /dev/null +++ b/Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs @@ -0,0 +1,158 @@ +using DG.Tweening; +using System.Collections.Generic; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +public class PvpWinPanel : MonoBehaviour, IControlable +{ + [SerializeField] private RectTransform panel; + [SerializeField] private float startPanelX, shownPanelX, hiddenPanelX; + [SerializeField] private Transform description; + [SerializeField] private RevengeButton revengeButton; + [SerializeField] private GotoMenuButton menuButton; + [SerializeField] private Image background; + [SerializeField] private Color backgroundEnabledColor, backgroundDisabledColor; + + [SerializeField] private AnimationCurve elasticCurve; + private Sequence _animation; + + [Header("Работа с кнопками")] + [SerializeField] private List buttons; + private int buttonIndex; + + public bool ControlsEnabled { get; set; } + + + + public void UpdateControls() + { + int direction = 0; + if (In.GetButtonDownAnyPlayer(PlayerAction.left)) direction -= 1; + if (In.GetButtonDownAnyPlayer(PlayerAction.right)) direction += 1; + + int newButtonIndex = Mathf.Clamp(buttonIndex + direction, 0, buttons.Count); + bool indexChanged = newButtonIndex != buttonIndex; + if (indexChanged) + { + buttonIndex = newButtonIndex; + RefreshButtons(); + } + + //interact + if (In.GetButtonDownAnyPlayer(PlayerAction.action)) + { + var selectedButton = buttons[buttonIndex]; + selectedButton.Interact(); + } + } + + public void Open() + { + if (_animation != null) + { + _animation.Kill(); + } + + Initialize(); + _animation = GetOpenSequence(); + _animation.onComplete += () => + { + ControlsEnabled = true; + RefreshButtons(); + }; + _animation.PlayForward(); + } + + public void Close() + { + if (_animation != null) + { + _animation.Kill(); + } + + _animation = GetCloseSequence(); + _animation.onComplete += () => + { + ControlsEnabled = false; + revengeButton.Select(); + menuButton.Deselect(); + }; + _animation.PlayForward(); + } + + private Sequence GetCloseSequence() + { + Sequence seq = DOTween.Sequence(); + + foreach (var button in buttons) + { + seq.Join(button.transform.DOScale(0, 0.4f).SetEase(Ease.InBack)); + } + + seq.Append(panel.DOAnchorPosX(hiddenPanelX, 1f).SetEase(Ease.InBack)); + seq.Join(background.DOColor(backgroundDisabledColor, 2).SetEase(Ease.InCubic)); + + return seq; + } + + private void Initialize() + { + panel.anchoredPosition = new Vector2(startPanelX, panel.anchoredPosition.y); + description.localScale = Vector3.zero; + + var text = description.GetComponent(); + int winner = GameManager.instance.currentPlayer == Team.Player1 ? 1 : 2; + text.text = $"игрок {winner} победил"; + + revengeButton.Initialize(); + + revengeButton.transform.localScale = Vector3.zero; + menuButton.transform.localScale = Vector3.zero; + + background.color = backgroundDisabledColor; + + buttonIndex = 0; + } + + private Sequence GetOpenSequence() + { + Sequence seq = DOTween.Sequence(); + + //приезд панели + seq.Append(panel.DOAnchorPosX(shownPanelX, 1f).SetEase(Ease.OutBack)); + + //фон + seq.Join(background.DOColor(backgroundEnabledColor, 1).SetEase(Ease.OutCubic)); + + //текст описания + seq.Append(description.DOScale(1, 0.5f).SetEase(elasticCurve)); + seq.AppendInterval(0.2f); + + //вращение описания + float rotationDuration = 0.2f; + seq.Append(description.DOLocalRotate(new Vector3(0, 0, 2), rotationDuration)); + seq.Append(description.DOLocalRotate(new Vector3(0, 0, -2), rotationDuration)); + seq.Append(description.DOLocalRotate(new Vector3(0, 0, 0), rotationDuration / 2)); + + //появление кнопок + seq.Join(revengeButton.transform.DOScale(1.05f, 0.5f).SetEase(Ease.OutBack)); + seq.Append(menuButton.transform.DOScale(0.9f, 0.5f).SetEase(Ease.OutBack)); + + return seq; + } + + private void RefreshButtons() + { + if (buttonIndex == 0) + { + buttons[0].Select(); + buttons[1].Deselect(); + } + else if (buttonIndex == 1) + { + buttons[1].Select(); + buttons[0].Deselect(); + } + } +} diff --git a/Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs.meta b/Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs.meta new file mode 100644 index 0000000..d26f6e7 --- /dev/null +++ b/Assets/Scripts/Gameplay/Panels/PvpWinPanel.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 530e00f984aa03c4e84c74a40059e119 \ No newline at end of file diff --git a/Assets/Scripts/Gameplay/Panels/RevengeButton.cs b/Assets/Scripts/Gameplay/Panels/RevengeButton.cs index fa60e44..24923bb 100644 --- a/Assets/Scripts/Gameplay/Panels/RevengeButton.cs +++ b/Assets/Scripts/Gameplay/Panels/RevengeButton.cs @@ -1,4 +1,5 @@ -using TMPro; +using System; +using TMPro; using UnityEngine; using UnityEngine.UI; @@ -8,7 +9,9 @@ public class RevengeButton : PveLossButton [SerializeField] private TextMeshProUGUI oldPrice; [SerializeField] private TextMeshProUGUI actualPrice; [SerializeField] private Image saleImage; + + public override void Initialize() { if (PaymentSystem.Freeplay) @@ -36,6 +39,7 @@ public class RevengeButton : PveLossButton { if (!interactable) return; - GameManager.instance.PerformRevenge(); - } + base.Interact(); + + } } diff --git a/Assets/Scripts/Gameplay/TurnTracker.cs b/Assets/Scripts/Gameplay/TurnTracker.cs new file mode 100644 index 0000000..b2e7661 --- /dev/null +++ b/Assets/Scripts/Gameplay/TurnTracker.cs @@ -0,0 +1,27 @@ +using UnityEngine; + +public class TurnTracker : MonoBehaviour +{ + [field: SerializeField] public static int Moves { get; private set; } + [field: SerializeField] public static float Timer { get; private set; } + + private bool _timerEnabled = false; + + private void Update() => Tick(); + + public void EnableTimer(bool enable) => _timerEnabled = enable; + + public void IncrementMoves() => Moves++; + + public void ResetTracking() + { + Timer = 0; + Moves = 0; + _timerEnabled = false; + } + + private void Tick() + { + if (_timerEnabled) Timer += Time.deltaTime; + } +} diff --git a/Assets/Scripts/Gameplay/TurnTracker.cs.meta b/Assets/Scripts/Gameplay/TurnTracker.cs.meta new file mode 100644 index 0000000..b2a25d3 --- /dev/null +++ b/Assets/Scripts/Gameplay/TurnTracker.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5634e7b583daa7e449c04046c12f330a \ No newline at end of file diff --git a/Assets/Scripts/MButton.cs b/Assets/Scripts/MButton.cs index 6d405df..84d81bf 100644 --- a/Assets/Scripts/MButton.cs +++ b/Assets/Scripts/MButton.cs @@ -1,11 +1,13 @@ -using UnityEngine; +using System; +using UnityEngine; public abstract class MButton : MonoBehaviour { + public event Action OnInteract; public abstract void Initialize(); public abstract void Select(); public abstract void Deselect(); - public abstract void Interact(); + public virtual void Interact() { OnInteract?.Invoke(); } } diff --git a/Assets/Scripts/Menu/MenuLayoutController.cs b/Assets/Scripts/Menu/MenuLayoutController.cs index e4ca717..41d6429 100644 --- a/Assets/Scripts/Menu/MenuLayoutController.cs +++ b/Assets/Scripts/Menu/MenuLayoutController.cs @@ -36,7 +36,7 @@ public class MenuLayoutController : MonoBehaviour, IControlable public void UpdateControls() { - int direction = GetDirection(); + int direction = In.GetAxis(Axis.Horizontal, JoystickSide.Both); int newPanelIndex = Mathf.Clamp(_panelIndex + direction, 0, 2); bool indexChanged = newPanelIndex != _panelIndex; @@ -55,14 +55,6 @@ public class MenuLayoutController : MonoBehaviour, IControlable currentPanel.Interact(); } - private static int GetDirection() - { - int dir_h = 0; - dir_h += In.GetButtonDownAnyPlayer(PlayerAction.right) ? 1 : 0; - dir_h += In.GetButtonDownAnyPlayer(PlayerAction.left) ? -1 : 0; - return dir_h; - } - public Sequence GetOpenSequence() => GetSequenceByState(true); public Sequence GetCloseSequence() => GetSequenceByState(false); diff --git a/Assets/Scripts/Menu/Panels/MenuPanelsScroll.cs b/Assets/Scripts/Menu/Panels/MenuPanelsScroll.cs index 4845d89..9fc3376 100644 --- a/Assets/Scripts/Menu/Panels/MenuPanelsScroll.cs +++ b/Assets/Scripts/Menu/Panels/MenuPanelsScroll.cs @@ -29,14 +29,9 @@ public class MenuPanelsScroll : MenuPanel { if (!m_enabled || isTransitioning) return; - int dir_v = 0; - dir_v += In.GetButtonDownAnyPlayer(PlayerAction.up) ? -1 : 0; - dir_v += In.GetButtonDownAnyPlayer(PlayerAction.down) ? +1 : 0; - + int dir_v = -In.GetAxis(Axis.Vertical, JoystickSide.Both); if (dir_v != 0) - { StartCoroutine(SwitchPanelCoroutine(dir_v)); - } } private IEnumerator SwitchPanelCoroutine(int direction) diff --git a/Assets/Scripts/MenuGameplayTransit.cs b/Assets/Scripts/MenuGameplayTransit.cs index e33a438..f124d80 100644 --- a/Assets/Scripts/MenuGameplayTransit.cs +++ b/Assets/Scripts/MenuGameplayTransit.cs @@ -11,15 +11,7 @@ public class MenuGameplayTransit : MonoBehaviour Sequence _sequence; bool locked = false; - private void Update() - { - if (locked) return; - if (Input.GetKeyDown(KeyCode.Alpha1)) - GotoGameplay(); - else if (Input.GetKeyDown(KeyCode.Alpha2)) - GotoMenu(); - } public void GotoGameplay() { diff --git a/Assets/TextMesh Pro/Resources/TMP Settings.asset b/Assets/TextMesh Pro/Resources/TMP Settings.asset index d78382c..dde97fc 100644 --- a/Assets/TextMesh Pro/Resources/TMP Settings.asset +++ b/Assets/TextMesh Pro/Resources/TMP Settings.asset @@ -15,7 +15,7 @@ MonoBehaviour: assetVersion: 2 m_TextWrappingMode: 1 m_enableKerning: 1 - m_ActiveFontFeatures: 00000000 + m_ActiveFontFeatures: 6e72656b m_enableExtraPadding: 0 m_enableTintAllSprites: 0 m_enableParseEscapeCharacters: 1 @@ -24,7 +24,7 @@ MonoBehaviour: m_missingGlyphCharacter: 0 m_ClearDynamicDataOnBuild: 1 m_warningsDisabled: 1 - m_defaultFontAsset: {fileID: 11400000, guid: 3f10bbcf486189d4f95b8de6dc2e2177, type: 2} + m_defaultFontAsset: {fileID: 11400000, guid: 47e175ba6cb1126439b5583572a406fe, type: 2} m_defaultFontAssetPath: Fonts & Materials/ m_defaultFontSize: 32 m_defaultAutoSizeMinRatio: 0.5