diff --git a/.idea/.idea.Monopoly/.idea/indexLayout.xml b/.idea/.idea.Monopoly/.idea/indexLayout.xml index f4002d1..6bb84a2 100644 --- a/.idea/.idea.Monopoly/.idea/indexLayout.xml +++ b/.idea/.idea.Monopoly/.idea/indexLayout.xml @@ -3,7 +3,6 @@ - Assets Library/PackageCache/com.unity.collab-proxy@1.3.9 Library/PackageCache/com.unity.ext.nunit@1.0.0 Library/PackageCache/com.unity.ide.rider@1.2.1 @@ -21,6 +20,7 @@ .vs Library Logs + Temp UserSettings obj diff --git a/Assets/Scenes/monopoly.unity b/Assets/Scenes/monopoly.unity index 988c094..891fe6b 100644 --- a/Assets/Scenes/monopoly.unity +++ b/Assets/Scenes/monopoly.unity @@ -5724,7 +5724,7 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 1235795231} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1} @@ -7012,8 +7012,8 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 2007862498} - {fileID: 1017986387} + - {fileID: 2007862498} m_Father: {fileID: 1110544714} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -10536,7 +10536,7 @@ RectTransform: m_Children: - {fileID: 1157611929} m_Father: {fileID: 1235795231} - m_RootOrder: 0 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1} diff --git a/Assets/Scripts/menu/LevelLoader.cs b/Assets/Scripts/menu/LevelLoader.cs index 7307151..cde33e3 100644 --- a/Assets/Scripts/menu/LevelLoader.cs +++ b/Assets/Scripts/menu/LevelLoader.cs @@ -22,13 +22,13 @@ public class LevelLoader : MonoBehaviour public void LoadLevel() { - StartCoroutine(UpdateTable()); //Starts the LoadAsynchronously function + StartCoroutine(UpdatePlays()); //Starts the LoadAsynchronously function GameSettings.players = Convert.ToInt32(playersInput.text); //This sets the amount of players that has been set to play in the game. Debug.Log(GameSettings.players); StartCoroutine(LoadAsynchronously("monopoly")); //Starts the LoadAsynchronously function } - IEnumerator UpdateTable() + IEnumerator UpdatePlays() { List formData = new List(); //POST Data