From 279abf0afe1486dc23acd2547e339e6d1b507f95 Mon Sep 17 00:00:00 2001 From: Lukas Rapp Date: Tue, 14 Jun 2022 11:43:56 +0200 Subject: [PATCH 1/8] Added test for wave strengthening --- Assets/Scripts/WaveManager.cs | 4 +- Assets/Tests/Editmode/WaveManagerTest.cs | 50 +++++++++++++++++++ .../WaveManagerTest.cs.meta} | 2 +- Assets/Tests/Playmode/Testtest.cs | 27 ---------- 4 files changed, 53 insertions(+), 30 deletions(-) create mode 100644 Assets/Tests/Editmode/WaveManagerTest.cs rename Assets/Tests/{Playmode/Testtest.cs.meta => Editmode/WaveManagerTest.cs.meta} (83%) delete mode 100644 Assets/Tests/Playmode/Testtest.cs diff --git a/Assets/Scripts/WaveManager.cs b/Assets/Scripts/WaveManager.cs index 7c75b68..f944fbb 100644 --- a/Assets/Scripts/WaveManager.cs +++ b/Assets/Scripts/WaveManager.cs @@ -31,7 +31,7 @@ public class WaveManager : MonoBehaviour public float strength; private List minions; - void Start() + public void Start() { //Getting "Attacker" component of game objects beforehand //to elimite "runtime" overhead during the game and sort @@ -104,7 +104,7 @@ private void ShowWaveOnScreen() } } - void Strengthen() + public void Strengthen() { float factor = Statics.gameMode == GameMode.LOCAL_MULTIPLAYER ? COOP_FACTOR : 1; diff --git a/Assets/Tests/Editmode/WaveManagerTest.cs b/Assets/Tests/Editmode/WaveManagerTest.cs new file mode 100644 index 0000000..5334532 --- /dev/null +++ b/Assets/Tests/Editmode/WaveManagerTest.cs @@ -0,0 +1,50 @@ +using System.Collections; +using System.Collections.Generic; +using System.Reflection; +using System.Runtime.CompilerServices; +using NUnit.Framework; +using UnityEngine; +using UnityEngine.TestTools; +using UnityEngine.UIElements; + +public class WaveManagerTest +{ + + [Test] + public void TestMinionConstellation() + { + Assert.IsTrue(true); + /*GameObject gameObject= new GameObject(); + var wavemanager = gameObject.AddComponent(); + // Use the Assert class to test conditions. + // Use yield to skip a frame. + MethodInfo methodInfo = typeof(WaveManager).GetMethod("Strengthen()"); + float strengthBefore = wavemanager.strength; + methodInfo.Invoke(wavemanager, null); + yield return new WaitForSeconds(1); + Assert.GreaterOrEqual(strengthBefore,wavemanager.strength); + */ + } + + [Test] + public void TestParameterGrowth() + { + float eta = 10e-4F; + float[] cooldowns = new float[3]{1F, 0.9950125F, 0.9900498F}; + float[] durations = new float[3]{5F, 4.900993F, 4.803947F}; + float[] strengths = new float[3]{100F, 104.0811F, 108.3287F}; + var manager = GameObject + .FindGameObjectsWithTag("WaveManager")[0] + .GetComponent(); + manager.Start(); + + for (int i = 0; i < 3; i++) { + Assert.IsTrue(Mathf.Abs(manager.cooldown - cooldowns[i]) < eta); + Assert.IsTrue(Mathf.Abs(manager.duration - durations[i]) < eta); + Assert.IsTrue(Mathf.Abs(manager.strength - strengths[i]) < eta); + + manager.wave += 1; + manager.Strengthen(); + } + } +} diff --git a/Assets/Tests/Playmode/Testtest.cs.meta b/Assets/Tests/Editmode/WaveManagerTest.cs.meta similarity index 83% rename from Assets/Tests/Playmode/Testtest.cs.meta rename to Assets/Tests/Editmode/WaveManagerTest.cs.meta index e0c9908..f202a0b 100644 --- a/Assets/Tests/Playmode/Testtest.cs.meta +++ b/Assets/Tests/Editmode/WaveManagerTest.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 3e68aa52bdb73e745910d685e8ec0815 +guid: 5525db4bf7b175e2e98ffdc2eec92e1e MonoImporter: externalObjects: {} serializedVersion: 2 diff --git a/Assets/Tests/Playmode/Testtest.cs b/Assets/Tests/Playmode/Testtest.cs deleted file mode 100644 index 3cf503c..0000000 --- a/Assets/Tests/Playmode/Testtest.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Reflection; -using System.Runtime.CompilerServices; -using NUnit.Framework; -using UnityEngine; -using UnityEngine.TestTools; -using UnityEngine.UIElements; - -public class Testtest -{ - - [UnityTest, Ignore("not finished")] - public IEnumerator TesttestWithEnumeratorPasses() - { - GameObject gameObject= new GameObject(); - var wavemanager = gameObject.AddComponent(); - // Use the Assert class to test conditions. - // Use yield to skip a frame. - MethodInfo methodInfo = typeof(WaveManager).GetMethod("Strengthen()"); - float strengthBefore = wavemanager.strength; - methodInfo.Invoke(wavemanager, null); - yield return new WaitForSeconds(1); - Assert.GreaterOrEqual(strengthBefore,wavemanager.strength); - - } -} From 1579ef6a8b4c0cb73b2934b4a98ac9c892afc660 Mon Sep 17 00:00:00 2001 From: Lukas Rapp Date: Tue, 14 Jun 2022 12:02:43 +0200 Subject: [PATCH 2/8] Added test for minion wave constellation --- Assets/Scripts/WaveManager.cs | 2 +- Assets/Tests/Editmode/WaveManagerTest.cs | 31 ++++++++++++++---------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/Assets/Scripts/WaveManager.cs b/Assets/Scripts/WaveManager.cs index f944fbb..aadf51d 100644 --- a/Assets/Scripts/WaveManager.cs +++ b/Assets/Scripts/WaveManager.cs @@ -184,7 +184,7 @@ private void AddToOptions(Attacker attacker, List options) //This function generates descrete points in time in an intervall //I = [0; #duration] using sub-second timesteps. They are sorted in //ascending order. - List> GenerateSpawnPattern() + public List> GenerateSpawnPattern() { List options = GetValidSpawningOptions(); int pivot = options.Count - 1; diff --git a/Assets/Tests/Editmode/WaveManagerTest.cs b/Assets/Tests/Editmode/WaveManagerTest.cs index 5334532..612c440 100644 --- a/Assets/Tests/Editmode/WaveManagerTest.cs +++ b/Assets/Tests/Editmode/WaveManagerTest.cs @@ -1,29 +1,32 @@ +using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; using NUnit.Framework; +using Robot; using UnityEngine; using UnityEngine.TestTools; using UnityEngine.UIElements; public class WaveManagerTest { - [Test] public void TestMinionConstellation() { - Assert.IsTrue(true); - /*GameObject gameObject= new GameObject(); - var wavemanager = gameObject.AddComponent(); - // Use the Assert class to test conditions. - // Use yield to skip a frame. - MethodInfo methodInfo = typeof(WaveManager).GetMethod("Strengthen()"); - float strengthBefore = wavemanager.strength; - methodInfo.Invoke(wavemanager, null); - yield return new WaitForSeconds(1); - Assert.GreaterOrEqual(strengthBefore,wavemanager.strength); - */ + var manager = GameObject + .FindGameObjectsWithTag("WaveManager")[0] + .GetComponent(); + manager.Start(); + + List> pattern = manager.GenerateSpawnPattern(); + int firstRobotCount = 0; + foreach (Tuple entry in pattern) { + Assert.IsTrue(entry.Item2.strength == 10); + firstRobotCount++; + } + + Assert.IsTrue(firstRobotCount == 10); } [Test] @@ -36,7 +39,9 @@ public void TestParameterGrowth() var manager = GameObject .FindGameObjectsWithTag("WaveManager")[0] .GetComponent(); - manager.Start(); + manager.cooldown = 1F; + manager.duration = 5F; + manager.strength = 100F; for (int i = 0; i < 3; i++) { Assert.IsTrue(Mathf.Abs(manager.cooldown - cooldowns[i]) < eta); From 938f8995bb02cb05ba1dfa7a61370da21372bb92 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 14 Jun 2022 12:32:37 +0200 Subject: [PATCH 3/8] add functionality to progression window --- Assets/Scenes/Game.unity | 1973 ++++++++++++----- Assets/Scripts/ScoreModel.cs | 21 +- Assets/Scripts/SkillMenu.meta | 8 + Assets/Scripts/SkillMenu/IncrementSetter.cs | 8 + .../Scripts/SkillMenu/IncrementSetter.cs.meta | 11 + .../Scripts/{ => SkillMenu}/OpenSkillMenu.cs | 0 .../{ => SkillMenu}/OpenSkillMenu.cs.meta | 0 Assets/Scripts/SkillMenu/PriceSetter.cs | 15 + Assets/Scripts/SkillMenu/PriceSetter.cs.meta | 11 + Assets/Scripts/SkillMenu/SkillTree.cs | 102 + .../Scripts/{ => SkillMenu}/SkillTree.cs.meta | 0 Assets/Scripts/SkillTree.cs | 49 - Assets/Sprites/lightning-thicc.png | Bin 0 -> 88803 bytes Assets/Sprites/lightning-thicc.png.meta | 96 + Assets/{ => Sprites}/lightning.png | Bin Assets/{ => Sprites}/lightning.png.meta | 0 16 files changed, 1655 insertions(+), 639 deletions(-) create mode 100644 Assets/Scripts/SkillMenu.meta create mode 100644 Assets/Scripts/SkillMenu/IncrementSetter.cs create mode 100644 Assets/Scripts/SkillMenu/IncrementSetter.cs.meta rename Assets/Scripts/{ => SkillMenu}/OpenSkillMenu.cs (100%) rename Assets/Scripts/{ => SkillMenu}/OpenSkillMenu.cs.meta (100%) create mode 100644 Assets/Scripts/SkillMenu/PriceSetter.cs create mode 100644 Assets/Scripts/SkillMenu/PriceSetter.cs.meta create mode 100644 Assets/Scripts/SkillMenu/SkillTree.cs rename Assets/Scripts/{ => SkillMenu}/SkillTree.cs.meta (100%) delete mode 100644 Assets/Scripts/SkillTree.cs create mode 100644 Assets/Sprites/lightning-thicc.png create mode 100644 Assets/Sprites/lightning-thicc.png.meta rename Assets/{ => Sprites}/lightning.png (100%) rename Assets/{ => Sprites}/lightning.png.meta (100%) diff --git a/Assets/Scenes/Game.unity b/Assets/Scenes/Game.unity index 3b69fc6..51a142d 100644 --- a/Assets/Scenes/Game.unity +++ b/Assets/Scenes/Game.unity @@ -2128,6 +2128,14 @@ MonoBehaviour: background: {fileID: 1087950405} manaModel: {fileID: 1892996961} healthModel: {fileID: 1892996962} + spells: {fileID: 1892996960} + manaModelCoop: {fileID: 908599691} + healthModelCoop: {fileID: 908599692} + spellsCoop: {fileID: 908599695} + stonePrefab: {fileID: 4212489105081550198, guid: 3cc67cc322087034fbe1448b2f4f72ad, + type: 3} + lightningPrefab: {fileID: 1019156862142618646, guid: bb54d58d014ae5e449d0a537ae75921f, + type: 3} --- !u!4 &38617649 Transform: m_ObjectHideFlags: 0 @@ -4960,6 +4968,78 @@ Transform: type: 3} m_PrefabInstance: {fileID: 85535545} m_PrefabAsset: {fileID: 0} +--- !u!1 &85564060 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 85564061} + - component: {fileID: 85564063} + - component: {fileID: 85564062} + m_Layer: 5 + m_Name: Stone Spell + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &85564061 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 85564060} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 485605059} + m_RootOrder: 0 + 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: 77, y: 64} + m_SizeDelta: {x: 79.5993, y: 65.362} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &85564062 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 85564060} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 2800000, guid: 6747afe33c4a25a4093a2aee18f86e8f, type: 3} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 +--- !u!222 &85564063 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 85564060} + m_CullTransparentMesh: 1 --- !u!1001 &86169369 PrefabInstance: m_ObjectHideFlags: 0 @@ -5208,157 +5288,6 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f681a54372d73d74785b9c9d4ac477e8, type: 3} ---- !u!1 &92045234 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 92045235} - - component: {fileID: 92045238} - - component: {fileID: 92045237} - - component: {fileID: 92045236} - m_Layer: 5 - m_Name: Wave Indicator - m_TagString: WaveIndicator - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &92045235 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 92045234} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.5, y: 0.5, z: 1} - m_Children: [] - m_Father: {fileID: 1808627423} - m_RootOrder: 0 - 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: 25, y: 0} - m_SizeDelta: {x: 1020, y: 260} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &92045236 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 92045234} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0ec5348b30197683b828a204f395c0e7, type: 3} - m_Name: - m_EditorClassIdentifier: - label: {fileID: 92045237} - active: 0 - fadeDuration: 1 - waitDuration: 2 ---- !u!114 &92045237 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 92045234} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 64 - m_fontSizeBase: 64 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 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!222 &92045238 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 92045234} - m_CullTransparentMesh: 0 --- !u!1001 &94091135 PrefabInstance: m_ObjectHideFlags: 0 @@ -5599,6 +5528,85 @@ Transform: type: 3} m_PrefabInstance: {fileID: 97686624} m_PrefabAsset: {fileID: 0} +--- !u!1 &98182302 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 98182303} + - component: {fileID: 98182305} + - component: {fileID: 98182304} + m_Layer: 5 + m_Name: Stone Price + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &98182303 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 98182302} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 485605059} + m_RootOrder: 2 + 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: 296, y: 59} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &98182304 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 98182302} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: PLACEHOLDER +--- !u!222 &98182305 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 98182302} + m_CullTransparentMesh: 1 --- !u!1001 &98384551 PrefabInstance: m_ObjectHideFlags: 0 @@ -23582,16 +23590,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 341072275} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 1087950410} - m_RootOrder: 7 + m_Father: {fileID: 1481222185} + m_RootOrder: 1 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: -77.000015, y: -82.63994} + m_AnchoredPosition: {x: -221, y: -17} m_SizeDelta: {x: 49.6778, y: 62.6419} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &341072277 @@ -26592,138 +26600,6 @@ Transform: type: 3} m_PrefabInstance: {fileID: 387645084} m_PrefabAsset: {fileID: 0} ---- !u!1 &389088096 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 389088097} - - component: {fileID: 389088100} - - component: {fileID: 389088099} - - component: {fileID: 389088098} - m_Layer: 5 - m_Name: Button 2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &389088097 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 389088096} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 1087950410} - m_RootOrder: 3 - 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: 90.00003, y: -11} - m_SizeDelta: {x: 86.5573, y: 65.3613} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &389088098 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 389088096} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 389088099} - m_OnClick: - m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 38617648} - m_TargetAssemblyTypeName: SkillTree, Scripts - m_MethodName: ButtonTwo - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 ---- !u!114 &389088099 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 389088096} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 3230509818794df488b6082dff813891, 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!222 &389088100 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 389088096} - m_CullTransparentMesh: 1 --- !u!1001 &389207536 PrefabInstance: m_ObjectHideFlags: 0 @@ -35303,6 +35179,58 @@ Tilemap: e31: 0 e32: 0 e33: 1 +--- !u!1 &485605058 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 485605059} + - component: {fileID: 485605060} + m_Layer: 5 + m_Name: Stone + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &485605059 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 485605058} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 85564061} + - {fileID: 1440457466} + - {fileID: 98182303} + m_Father: {fileID: 1087950410} + m_RootOrder: 2 + 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: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &485605060 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 485605058} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fab3bb1691531a4fba36a4930032c19, type: 3} + m_Name: + m_EditorClassIdentifier: + price: 150 --- !u!1001 &486527896 PrefabInstance: m_ObjectHideFlags: 0 @@ -39671,6 +39599,58 @@ Transform: type: 3} m_PrefabInstance: {fileID: 556883143} m_PrefabAsset: {fileID: 0} +--- !u!1 &557749620 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 557749621} + - component: {fileID: 557749622} + m_Layer: 5 + m_Name: Lightning + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &557749621 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 557749620} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1619146471} + - {fileID: 1164589179} + - {fileID: 666517309} + m_Father: {fileID: 1087950410} + m_RootOrder: 3 + 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: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &557749622 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 557749620} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fab3bb1691531a4fba36a4930032c19, type: 3} + m_Name: + m_EditorClassIdentifier: + price: 200 --- !u!1001 &558703280 PrefabInstance: m_ObjectHideFlags: 0 @@ -41948,6 +41928,85 @@ Transform: type: 3} m_PrefabInstance: {fileID: 607696986} m_PrefabAsset: {fileID: 0} +--- !u!1 &609263152 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 609263153} + - component: {fileID: 609263155} + - component: {fileID: 609263154} + m_Layer: 5 + m_Name: experience_view + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &609263153 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609263152} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1087950410} + m_RootOrder: 5 + 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: 75, y: -101} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &609263154 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609263152} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 0 +--- !u!222 &609263155 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 609263152} + m_CullTransparentMesh: 1 --- !u!1001 &610123452 PrefabInstance: m_ObjectHideFlags: 0 @@ -50805,6 +50864,85 @@ Grid: m_CellGap: {x: 0, y: 0, z: 0} m_CellLayout: 0 m_CellSwizzle: 0 +--- !u!1 &666517308 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 666517309} + - component: {fileID: 666517311} + - component: {fileID: 666517310} + m_Layer: 5 + m_Name: Lightning Price + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &666517309 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 666517308} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 557749621} + m_RootOrder: 2 + 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: 297, y: -25} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &666517310 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 666517308} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: PLACEHOLDER +--- !u!222 &666517311 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 666517308} + m_CullTransparentMesh: 1 --- !u!1001 &666518780 PrefabInstance: m_ObjectHideFlags: 0 @@ -73556,9 +73694,7 @@ MonoBehaviour: m_EditorClassIdentifier: castSpellAction: {fileID: 908599694} learnedSpells: - - {fileID: 4212489105081550198, guid: 3cc67cc322087034fbe1448b2f4f72ad, type: 3} - {fileID: 4212489105081550198, guid: bc80407eca812f04d805fa525b451f83, type: 3} - - {fileID: 1019156862142618646, guid: bb54d58d014ae5e449d0a537ae75921f, type: 3} spellIndex: 0 keyUp: player2_shoot_up keyDown: player2_shoot_down @@ -74841,16 +74977,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 928575361} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + 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_LocalScale: {x: 0.72501, y: 0.775, z: 1} m_Children: [] - m_Father: {fileID: 1087950410} - m_RootOrder: 4 + m_Father: {fileID: 1481222185} + m_RootOrder: 0 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: 90, y: -90} + m_AnchoredPosition: {x: -123.000046, y: -20.082} m_SizeDelta: {x: 86.5573, y: 65.3613} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &928575363 @@ -74900,10 +75036,10 @@ MonoBehaviour: - m_Target: {fileID: 38617648} m_TargetAssemblyTypeName: SkillTree, Scripts m_MethodName: ButtonThree - m_Mode: 1 + m_Mode: 2 m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_ObjectArgument: {fileID: 928575361} + m_ObjectArgumentAssemblyTypeName: UnityEngine.GameObject, UnityEngine m_IntArgument: 0 m_FloatArgument: 0 m_StringArgument: @@ -76261,10 +76397,9 @@ GameObject: - component: {fileID: 951766364} - component: {fileID: 951766363} - component: {fileID: 951766362} - - component: {fileID: 951766366} m_Layer: 5 m_Name: HUD - m_TagString: Score + m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -76348,6 +76483,7 @@ RectTransform: - {fileID: 949258057} - {fileID: 315192305} - {fileID: 1494708955} + - {fileID: 1398947974} m_Father: {fileID: 0} m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -76356,20 +76492,6 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 0} ---- !u!114 &951766366 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 951766361} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 9037a0683b0be2a6f9917ee177d46fd8, type: 3} - m_Name: - m_EditorClassIdentifier: - _score: 0 - scoreView: {fileID: 2060152151} --- !u!1001 &952372000 PrefabInstance: m_ObjectHideFlags: 0 @@ -77774,16 +77896,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 977326869} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 1087950410} - m_RootOrder: 5 + m_Father: {fileID: 1981712405} + m_RootOrder: 1 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: -77, y: 64} + m_AnchoredPosition: {x: -221, y: 64} m_SizeDelta: {x: 79.5993, y: 65.362} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &977326871 @@ -87409,12 +87531,12 @@ RectTransform: m_Children: - {fileID: 1553094231} - {fileID: 398416905} - - {fileID: 2124425135} - - {fileID: 389088097} - - {fileID: 928575362} - - {fileID: 977326870} - - {fileID: 1123756525} - - {fileID: 341072276} + - {fileID: 485605059} + - {fileID: 557749621} + - {fileID: 1097772145} + - {fileID: 609263153} + - {fileID: 1481222185} + - {fileID: 1981712405} m_Father: {fileID: 38617649} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -87838,6 +87960,85 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1097135004} m_PrefabAsset: {fileID: 0} +--- !u!1 &1097772144 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1097772145} + - component: {fileID: 1097772147} + - component: {fileID: 1097772146} + m_Layer: 5 + m_Name: label_Exp + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1097772145 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1097772144} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1087950410} + m_RootOrder: 4 + 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, y: -101} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1097772146 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1097772144} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Experience:' +--- !u!222 &1097772147 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1097772144} + m_CullTransparentMesh: 1 --- !u!1001 &1099502493 PrefabInstance: m_ObjectHideFlags: 0 @@ -90460,78 +90661,6 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1122608278} m_PrefabAsset: {fileID: 0} ---- !u!1 &1123756524 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1123756525} - - component: {fileID: 1123756527} - - component: {fileID: 1123756526} - m_Layer: 5 - m_Name: SpellDmg Upgrade - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1123756525 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1123756524} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 1087950410} - m_RootOrder: 6 - 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: -77, y: -11.000002} - m_SizeDelta: {x: 79.5993, y: 43.6012} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1123756526 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1123756524} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Texture: {fileID: 2800000, guid: c66070f7e687d0f4793d486ba2997ab5, type: 3} - m_UVRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 ---- !u!222 &1123756527 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1123756524} - m_CullTransparentMesh: 1 --- !u!1001 &1124051821 PrefabInstance: m_ObjectHideFlags: 0 @@ -93111,6 +93240,138 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1163849944} m_PrefabAsset: {fileID: 0} +--- !u!1 &1164589178 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1164589179} + - component: {fileID: 1164589182} + - component: {fileID: 1164589181} + - component: {fileID: 1164589180} + m_Layer: 5 + m_Name: Button Unlock Lightning + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1164589179 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1164589178} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.72501, y: 0.775, z: 1} + m_Children: [] + m_Father: {fileID: 557749621} + m_RootOrder: 1 + 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: 171.8, y: -20.082} + m_SizeDelta: {x: 86.5573, y: 65.3613} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1164589180 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1164589178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1164589181} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 38617648} + m_TargetAssemblyTypeName: SkillTree, Scripts + m_MethodName: ButtonLightning + m_Mode: 2 + m_Arguments: + m_ObjectArgument: {fileID: 1164589178} + m_ObjectArgumentAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1164589181 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1164589178} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 3230509818794df488b6082dff813891, 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!222 &1164589182 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1164589178} + m_CullTransparentMesh: 1 --- !u!1001 &1164916766 PrefabInstance: m_ObjectHideFlags: 0 @@ -107148,6 +107409,57 @@ Transform: type: 3} m_PrefabInstance: {fileID: 352930968} m_PrefabAsset: {fileID: 0} +--- !u!1 &1398947973 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1398947974} + - component: {fileID: 1398947975} + m_Layer: 5 + m_Name: ScoreModel + m_TagString: Score + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1398947974 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1398947973} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 951766365} + m_RootOrder: 7 + 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: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1398947975 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1398947973} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9037a0683b0be2a6f9917ee177d46fd8, type: 3} + m_Name: + m_EditorClassIdentifier: + _score: 0 + scoreView: {fileID: 2060152151} + expView: {fileID: 609263154} --- !u!1 &1402269043 GameObject: m_ObjectHideFlags: 0 @@ -107413,6 +107725,85 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1405824681} m_PrefabAsset: {fileID: 0} +--- !u!1 &1406936598 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1406936599} + - component: {fileID: 1406936601} + - component: {fileID: 1406936600} + m_Layer: 5 + m_Name: Mana Price + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1406936599 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1406936598} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1481222185} + m_RootOrder: 2 + 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: 3, y: -25} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1406936600 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1406936598} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: PLACEHOLDER +--- !u!222 &1406936601 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1406936598} + m_CullTransparentMesh: 1 --- !u!1001 &1407343902 PrefabInstance: m_ObjectHideFlags: 0 @@ -109519,6 +109910,138 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1205096572} m_PrefabAsset: {fileID: 0} +--- !u!1 &1440457465 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1440457466} + - component: {fileID: 1440457469} + - component: {fileID: 1440457468} + - component: {fileID: 1440457467} + m_Layer: 5 + m_Name: Button Unlock Stone + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1440457466 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1440457465} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.72501, y: 0.775, z: 1} + m_Children: [] + m_Father: {fileID: 485605059} + m_RootOrder: 1 + 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: 172.4, y: 63} + m_SizeDelta: {x: 86.5573, y: 65.3613} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1440457467 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1440457465} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1440457468} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 38617648} + m_TargetAssemblyTypeName: SkillTree, Scripts + m_MethodName: ButtonStone + m_Mode: 2 + m_Arguments: + m_ObjectArgument: {fileID: 1440457465} + m_ObjectArgumentAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1440457468 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1440457465} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 3230509818794df488b6082dff813891, 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!222 &1440457469 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1440457465} + m_CullTransparentMesh: 1 --- !u!1001 &1442485499 PrefabInstance: m_ObjectHideFlags: 0 @@ -112659,6 +113182,72 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1480220750} m_PrefabAsset: {fileID: 0} +--- !u!1 &1481222184 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1481222185} + - component: {fileID: 1481222187} + - component: {fileID: 1481222186} + m_Layer: 5 + m_Name: Mana + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1481222185 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1481222184} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 928575362} + - {fileID: 341072276} + - {fileID: 1406936599} + m_Father: {fileID: 1087950410} + m_RootOrder: 6 + 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: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1481222186 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1481222184} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fab3bb1691531a4fba36a4930032c19, type: 3} + m_Name: + m_EditorClassIdentifier: + price: 15 +--- !u!114 &1481222187 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1481222184} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 85d670b831e75794abb95793604f1cd8, type: 3} + m_Name: + m_EditorClassIdentifier: + incrementStatBy: 5 --- !u!1001 &1481301224 PrefabInstance: m_ObjectHideFlags: 0 @@ -128948,6 +129537,78 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: background: {fileID: 1595226881} +--- !u!1 &1619146470 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1619146471} + - component: {fileID: 1619146473} + - component: {fileID: 1619146472} + m_Layer: 5 + m_Name: Lightning Spell + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1619146471 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1619146470} + m_LocalRotation: {x: -0, y: -0, z: -0.9999881, w: 0.0048810416} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.704905, y: 1.4726379, z: 0.91172} + m_Children: [] + m_Father: {fileID: 557749621} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: -179.441} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 78.2, y: -22} + m_SizeDelta: {x: 49.6778, y: 62.6419} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1619146472 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1619146470} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 2800000, guid: f34f3b79334ce7b4d86b5ef417b6fbc8, type: 3} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 +--- !u!222 &1619146473 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1619146470} + m_CullTransparentMesh: 1 --- !u!1001 &1620142798 PrefabInstance: m_ObjectHideFlags: 0 @@ -141809,7 +142470,6 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 92045235} - {fileID: 2060152148} m_Father: {fileID: 951766365} m_RootOrder: 2 @@ -147702,9 +148362,7 @@ MonoBehaviour: m_EditorClassIdentifier: castSpellAction: {fileID: 1892996967} learnedSpells: - - {fileID: 4212489105081550198, guid: 3cc67cc322087034fbe1448b2f4f72ad, type: 3} - {fileID: 4212489105081550198, guid: bc80407eca812f04d805fa525b451f83, type: 3} - - {fileID: 1019156862142618646, guid: bb54d58d014ae5e449d0a537ae75921f, type: 3} spellIndex: 0 keyUp: player1_shoot_up keyDown: player1_shoot_down @@ -152575,194 +153233,260 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 9067939962960978152, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_FlipX - value: 1 - objectReference: {fileID: 0} + - target: {fileID: 9067939962960978152, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_FlipX + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 1dc4948f20ddc324f84c815af63aa6a9, type: 3} +--- !u!4 &1979388268 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + m_PrefabInstance: {fileID: 1979388267} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1980499276 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2141351912} + m_Modifications: + - target: {fileID: 2055102311959635369, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_Name + value: PF Props Tree T2 (1) + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635369, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_Layer + value: 25 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalPosition.x + value: -6.5381455 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalPosition.y + value: -2.108509 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalPosition.z + value: 25.488314 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2055102312182832482, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_Layer + value: 25 + objectReference: {fileID: 0} + - target: {fileID: 7508116785346154267, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_Layer + value: 25 + objectReference: {fileID: 0} + - target: {fileID: 8199604799029797720, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + propertyPath: m_Layer + value: 25 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7277dd75e907b27448ec1de08238d0bb, type: 3} +--- !u!4 &1980499277 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, + type: 3} + m_PrefabInstance: {fileID: 1980499276} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1980568338 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 806129651} + m_Modifications: + - target: {fileID: 4064746625110277272, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_Name + value: PF Grass L + objectReference: {fileID: 0} + - target: {fileID: 4064746625110277272, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_Layer + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalPosition.x + value: -3.911 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalPosition.y + value: 4.106 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 1dc4948f20ddc324f84c815af63aa6a9, type: 3} ---- !u!4 &1979388268 stripped +--- !u!4 &1980568339 stripped Transform: m_CorrespondingSourceObject: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, type: 3} - m_PrefabInstance: {fileID: 1979388267} + m_PrefabInstance: {fileID: 1980568338} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1980499276 -PrefabInstance: +--- !u!1 &1981712404 +GameObject: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 2141351912} - m_Modifications: - - target: {fileID: 2055102311959635369, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_Name - value: PF Props Tree T2 (1) - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635369, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_Layer - value: 25 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_RootOrder - value: 6 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalPosition.x - value: -6.5381455 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalPosition.y - value: -2.108509 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalPosition.z - value: 25.488314 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 2055102312182832482, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_Layer - value: 25 - objectReference: {fileID: 0} - - target: {fileID: 7508116785346154267, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_Layer - value: 25 - objectReference: {fileID: 0} - - target: {fileID: 8199604799029797720, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - propertyPath: m_Layer - value: 25 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 7277dd75e907b27448ec1de08238d0bb, type: 3} ---- !u!4 &1980499277 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 2055102311959635375, guid: 7277dd75e907b27448ec1de08238d0bb, - type: 3} - m_PrefabInstance: {fileID: 1980499276} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1980568338 -PrefabInstance: + serializedVersion: 6 + m_Component: + - component: {fileID: 1981712405} + - component: {fileID: 1981712407} + - component: {fileID: 1981712406} + m_Layer: 5 + m_Name: Health + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1981712405 +RectTransform: m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 806129651} - m_Modifications: - - target: {fileID: 4064746625110277272, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_Name - value: PF Grass L - objectReference: {fileID: 0} - - target: {fileID: 4064746625110277272, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_Layer - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalPosition.x - value: -3.911 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalPosition.y - value: 4.106 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 1dc4948f20ddc324f84c815af63aa6a9, type: 3} ---- !u!4 &1980568339 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 8848819282490232040, guid: 1dc4948f20ddc324f84c815af63aa6a9, - type: 3} - m_PrefabInstance: {fileID: 1980568338} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1981712404} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 2124425135} + - {fileID: 977326870} + - {fileID: 2074145293} + m_Father: {fileID: 1087950410} + m_RootOrder: 7 + 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: 0} + m_SizeDelta: {x: 100, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1981712406 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1981712404} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3fab3bb1691531a4fba36a4930032c19, type: 3} + m_Name: + m_EditorClassIdentifier: + price: 20 +--- !u!114 &1981712407 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1981712404} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 85d670b831e75794abb95793604f1cd8, type: 3} + m_Name: + m_EditorClassIdentifier: + incrementStatBy: 5 --- !u!1001 &1981882992 PrefabInstance: m_ObjectHideFlags: 0 @@ -165715,7 +166439,7 @@ RectTransform: m_LocalScale: {x: 0.5, y: 0.5, z: 1} m_Children: [] m_Father: {fileID: 1808627423} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} @@ -166822,6 +167546,85 @@ Transform: m_Father: {fileID: 1590173920} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2074145292 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2074145293} + - component: {fileID: 2074145295} + - component: {fileID: 2074145294} + m_Layer: 5 + m_Name: Health Price + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2074145293 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2074145292} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1981712405} + m_RootOrder: 2 + 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: 3, y: 59} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2074145294 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2074145292} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 14 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 40 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: PLACEHOLDER +--- !u!222 &2074145295 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2074145292} + m_CullTransparentMesh: 1 --- !u!1001 &2077096317 PrefabInstance: m_ObjectHideFlags: 0 @@ -172157,16 +172960,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2124425134} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + 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_LocalScale: {x: 0.72501, y: 0.775, z: 1} m_Children: [] - m_Father: {fileID: 1087950410} - m_RootOrder: 2 + m_Father: {fileID: 1981712405} + m_RootOrder: 0 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: 90.00003, y: 67} + m_AnchoredPosition: {x: -123, y: 63} m_SizeDelta: {x: 86.5573, y: 65.3613} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &2124425136 @@ -172216,10 +173019,10 @@ MonoBehaviour: - m_Target: {fileID: 38617648} m_TargetAssemblyTypeName: SkillTree, Scripts m_MethodName: ButtonOne - m_Mode: 1 + m_Mode: 2 m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_ObjectArgument: {fileID: 2124425134} + m_ObjectArgumentAssemblyTypeName: UnityEngine.GameObject, UnityEngine m_IntArgument: 0 m_FloatArgument: 0 m_StringArgument: diff --git a/Assets/Scripts/ScoreModel.cs b/Assets/Scripts/ScoreModel.cs index de3b199..7b79b07 100644 --- a/Assets/Scripts/ScoreModel.cs +++ b/Assets/Scripts/ScoreModel.cs @@ -1,22 +1,33 @@ +using System; using System.Collections; using System.Collections.Generic; using UnityEngine; +using UnityEngine.UI; +using UnityEngine.UIElements; public class ScoreModel : MonoBehaviour { [SerializeField] private int _score; public ScoreView scoreView; + public Text expView; - public void Increment(int value) + private int _exp; + public int GetExperience() => _exp; + + public void SpendExperience(int spent) { - _score += value; - scoreView.UpdateView(_score); + _exp -= spent; + expView.text = _exp.ToString(); } - public void Decrement(int value) { - _score -= value; + public void Increment(int value) + { + double expFactor = Math.PI * Math.E; + _exp += (int) (value / expFactor); + _score += value; scoreView.UpdateView(_score); + expView.text = _exp.ToString(); } public int GetScore() => _score; diff --git a/Assets/Scripts/SkillMenu.meta b/Assets/Scripts/SkillMenu.meta new file mode 100644 index 0000000..d65df4d --- /dev/null +++ b/Assets/Scripts/SkillMenu.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 08acbb1bda9e6dc43912bdd5034877b6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/SkillMenu/IncrementSetter.cs b/Assets/Scripts/SkillMenu/IncrementSetter.cs new file mode 100644 index 0000000..fde25f3 --- /dev/null +++ b/Assets/Scripts/SkillMenu/IncrementSetter.cs @@ -0,0 +1,8 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class IncrementSetter : MonoBehaviour +{ + public int incrementStatBy; +} diff --git a/Assets/Scripts/SkillMenu/IncrementSetter.cs.meta b/Assets/Scripts/SkillMenu/IncrementSetter.cs.meta new file mode 100644 index 0000000..2f67058 --- /dev/null +++ b/Assets/Scripts/SkillMenu/IncrementSetter.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 85d670b831e75794abb95793604f1cd8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/OpenSkillMenu.cs b/Assets/Scripts/SkillMenu/OpenSkillMenu.cs similarity index 100% rename from Assets/Scripts/OpenSkillMenu.cs rename to Assets/Scripts/SkillMenu/OpenSkillMenu.cs diff --git a/Assets/Scripts/OpenSkillMenu.cs.meta b/Assets/Scripts/SkillMenu/OpenSkillMenu.cs.meta similarity index 100% rename from Assets/Scripts/OpenSkillMenu.cs.meta rename to Assets/Scripts/SkillMenu/OpenSkillMenu.cs.meta diff --git a/Assets/Scripts/SkillMenu/PriceSetter.cs b/Assets/Scripts/SkillMenu/PriceSetter.cs new file mode 100644 index 0000000..b3a84bb --- /dev/null +++ b/Assets/Scripts/SkillMenu/PriceSetter.cs @@ -0,0 +1,15 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class PriceSetter : MonoBehaviour +{ + public int price; + + // Start is called before the first frame update + void Start() + { + this.GetComponentInChildren().text = price.ToString(); + } +} diff --git a/Assets/Scripts/SkillMenu/PriceSetter.cs.meta b/Assets/Scripts/SkillMenu/PriceSetter.cs.meta new file mode 100644 index 0000000..1c8ccd4 --- /dev/null +++ b/Assets/Scripts/SkillMenu/PriceSetter.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3fab3bb1691531a4fba36a4930032c19 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/SkillMenu/SkillTree.cs b/Assets/Scripts/SkillMenu/SkillTree.cs new file mode 100644 index 0000000..2d5e7b3 --- /dev/null +++ b/Assets/Scripts/SkillMenu/SkillTree.cs @@ -0,0 +1,102 @@ +using System.Collections; +using System.Collections.Generic; +using System.Text.RegularExpressions; +using DefaultNamespace; +using Fighting; +using Fighting.Spells; +using UnityEngine; +using UnityEngine.SceneManagement; +using UnityEngine.UI; + +public class SkillTree : MonoBehaviour +{ + private bool active = false; //is the MENU active? + public GameObject background; + public ManaModel manaModel; + public HealthModel healthModel; + public SpellCasting spells; + public ManaModel manaModelCoop; + public HealthModel healthModelCoop; + public SpellCasting spellsCoop; + + public GameObject stonePrefab; + public GameObject lightningPrefab; + + + private void Start() + { + Time.timeScale = 1F; + active = false; + background.SetActive(active); + } + + public void ResumeGame() + { + active = !active; + Time.timeScale = 1F - Time.timeScale; + background.SetActive(active); + } + + public void ButtonOne(GameObject o) + { + if (!spentPoint(o)) return; + + var inc = o.GetComponentInParent().incrementStatBy; + healthModel.maxHealthPoints += inc; + healthModel.currentHealthPoints += inc; + + if (Statics.gameMode == GameMode.LOCAL_MULTIPLAYER) + { + healthModelCoop.maxHealthPoints += inc; + healthModelCoop.currentHealthPoints += inc; + } + } + + public void ButtonThree(GameObject o) + { + if (!spentPoint(o)) return; + + var inc = o.GetComponentInParent().incrementStatBy; + manaModel.maxManaPoints += inc; + manaModel.currentManaPoints += inc; + + if (Statics.gameMode == GameMode.LOCAL_MULTIPLAYER) + { + manaModelCoop.maxManaPoints += inc; + manaModelCoop.currentManaPoints += inc; + + } + } + + public void ButtonStone(GameObject o) + { + if (!spentPoint(o)) return; + + spells.learnedSpells.Add(stonePrefab); + if (Statics.gameMode == GameMode.LOCAL_MULTIPLAYER)spellsCoop.learnedSpells.Add(stonePrefab); + o.GetComponentInParent