mirror of
https://github.com/smyalygames/monopoly.git
synced 2025-05-18 06:14:10 +02:00
Starting new play menu
This commit is contained in:
parent
0112c5ceff
commit
60cb1c814a
7
.idea/.idea.Monopoly/.idea/indexLayout.xml
generated
7
.idea/.idea.Monopoly/.idea/indexLayout.xml
generated
@ -3,12 +3,13 @@
|
||||
<component name="ContentModelUserStore">
|
||||
<attachedFolders />
|
||||
<explicitIncludes>
|
||||
<Path>Assets</Path>
|
||||
<Path>Library/PackageCache/com.unity.collab-proxy@1.3.9</Path>
|
||||
<Path>Library/PackageCache/com.unity.ext.nunit@1.0.0</Path>
|
||||
<Path>Library/PackageCache/com.unity.ide.rider@1.2.1</Path>
|
||||
<Path>Library/PackageCache/com.unity.ide.visualstudio@2.0.2</Path>
|
||||
<Path>Library/PackageCache/com.unity.ide.vscode@1.2.1</Path>
|
||||
<Path>Library/PackageCache/com.unity.test-framework@1.1.16</Path>
|
||||
<Path>Library/PackageCache/com.unity.ide.visualstudio@2.0.3</Path>
|
||||
<Path>Library/PackageCache/com.unity.ide.vscode@1.2.3</Path>
|
||||
<Path>Library/PackageCache/com.unity.test-framework@1.1.18</Path>
|
||||
<Path>Library/PackageCache/com.unity.textmeshpro@3.0.1</Path>
|
||||
<Path>Library/PackageCache/com.unity.timeline@1.3.4</Path>
|
||||
<Path>Packages</Path>
|
||||
|
@ -155,11 +155,11 @@ RectTransform:
|
||||
m_Father: {fileID: 820348872}
|
||||
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: -430.5, y: 253}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 200, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &239567295
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3031,11 +3031,11 @@ RectTransform:
|
||||
m_Father: {fileID: 820348872}
|
||||
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: -450.5, y: 203}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: -0.5, y: -50}
|
||||
m_SizeDelta: {x: 160, y: 30}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &1814574228
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3200,6 +3200,7 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 89cbcb58c8de8f14baaea829e70e2cb7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
playersInput: {fileID: 0}
|
||||
loadingScreen: {fileID: 821978300}
|
||||
slider: {fileID: 952453483}
|
||||
--- !u!4 &1824002929
|
||||
@ -3805,6 +3806,7 @@ GameObject:
|
||||
- component: {fileID: 2129375866}
|
||||
- component: {fileID: 2129375865}
|
||||
- component: {fileID: 2129375864}
|
||||
- component: {fileID: 2129375867}
|
||||
m_Layer: 5
|
||||
m_Name: PlayButton
|
||||
m_TagString: Untagged
|
||||
@ -3874,19 +3876,7 @@ MonoBehaviour:
|
||||
m_TargetGraphic: {fileID: 2129375865}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 1824002928}
|
||||
m_TargetAssemblyTypeName:
|
||||
m_MethodName: LoadLevel
|
||||
m_Mode: 5
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument: monopoly
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
m_Calls: []
|
||||
--- !u!114 &2129375865
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3925,6 +3915,21 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2129375862}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!114 &2129375867
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2129375862}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 89cbcb58c8de8f14baaea829e70e2cb7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
playersInput: {fileID: 0}
|
||||
loadingScreen: {fileID: 0}
|
||||
slider: {fileID: 0}
|
||||
--- !u!1 &2143598660
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
7
Assets/Scripts/GameSettings.cs
Normal file
7
Assets/Scripts/GameSettings.cs
Normal file
@ -0,0 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public static class GameSettings
|
||||
{
|
||||
public static int players;
|
||||
}
|
11
Assets/Scripts/GameSettings.cs.meta
Normal file
11
Assets/Scripts/GameSettings.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f148b73ca47a09e41937504b91d18c47
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,6 +1,5 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public static class UserManager
|
||||
{
|
||||
|
@ -4,10 +4,12 @@ using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using UnityEngine.Networking;
|
||||
using UnityEngine.UI;
|
||||
using TMPro;
|
||||
|
||||
public class LevelLoader : MonoBehaviour
|
||||
{
|
||||
|
||||
|
||||
public TMP_InputField playersInput; //This is for how many players the user has selected.
|
||||
public GameObject loadingScreen; //Gets the loading screen
|
||||
public Slider slider; //Gets the slider
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user