NewStartMenu
@@ -52,7 +52,7 @@
|
|||||||
}</component>
|
}</component>
|
||||||
<component name="RunManager" selected="Attach to Unity Editor.Attach to Unity Editor">
|
<component name="RunManager" selected="Attach to Unity Editor.Attach to Unity Editor">
|
||||||
<configuration name="Standalone Player" type="RunUnityExe" factoryName="Unity Executable">
|
<configuration name="Standalone Player" type="RunUnityExe" factoryName="Unity Executable">
|
||||||
<option name="EXE_PATH" value="$USER_HOME$/OneDrive/Desktop/Build\FlufflParty.exe" />
|
<option name="EXE_PATH" value="$USER_HOME$/OneDrive/Desktop/Build/FlufflParty.exe" />
|
||||||
<option name="PROGRAM_PARAMETERS" value="" />
|
<option name="PROGRAM_PARAMETERS" value="" />
|
||||||
<option name="WORKING_DIRECTORY" value="C:\Users\braus\OneDrive\Desktop\FlufflPartyTestBuild" />
|
<option name="WORKING_DIRECTORY" value="C:\Users\braus\OneDrive\Desktop\FlufflPartyTestBuild" />
|
||||||
<option name="PASS_PARENT_ENVS" value="1" />
|
<option name="PASS_PARENT_ENVS" value="1" />
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
<workItem from="1680214809728" duration="8352000" />
|
<workItem from="1680214809728" duration="8352000" />
|
||||||
<workItem from="1680264155233" duration="923000" />
|
<workItem from="1680264155233" duration="923000" />
|
||||||
<workItem from="1680286363612" duration="2712000" />
|
<workItem from="1680286363612" duration="2712000" />
|
||||||
<workItem from="1680292381793" duration="771000" />
|
<workItem from="1680292381793" duration="2472000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 318 KiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 552 KiB After Width: | Height: | Size: 561 KiB |
|
Before Width: | Height: | Size: 259 KiB |
|
After Width: | Height: | Size: 8.8 MiB |
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 44d4ee26d5fd6614db3860bbcee0fe3c
|
guid: 9e1003a1bcd966349b01a7047f7184ef
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
@@ -67,7 +67,7 @@ TextureImporter:
|
|||||||
platformSettings:
|
platformSettings:
|
||||||
- serializedVersion: 3
|
- serializedVersion: 3
|
||||||
buildTarget: DefaultTexturePlatform
|
buildTarget: DefaultTexturePlatform
|
||||||
maxTextureSize: 2048
|
maxTextureSize: 4096
|
||||||
resizeAlgorithm: 0
|
resizeAlgorithm: 0
|
||||||
textureFormat: -1
|
textureFormat: -1
|
||||||
textureCompression: 1
|
textureCompression: 1
|
||||||
@@ -8,6 +8,7 @@ using TMPro;
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class StartHandler : MonoBehaviour
|
public class StartHandler : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -22,12 +23,26 @@ public class StartHandler : MonoBehaviour
|
|||||||
[SerializeField] private TMP_Text playerName;
|
[SerializeField] private TMP_Text playerName;
|
||||||
[SerializeField] private GameObject copiedMessage;
|
[SerializeField] private GameObject copiedMessage;
|
||||||
[SerializeField] private TMP_Text backgroundNameText;
|
[SerializeField] private TMP_Text backgroundNameText;
|
||||||
|
[SerializeField] private GameObject layoutSelectCharacter;
|
||||||
|
[SerializeField] private Sprite[] characterFaces;
|
||||||
|
[SerializeField] private Image imageShowSelectedCharacter;
|
||||||
|
|
||||||
private string roomcode;
|
private string roomcode;
|
||||||
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
if (PlayerPrefs.HasKey("characterID"))
|
||||||
|
{
|
||||||
|
int id = PlayerPrefs.GetInt("characterID");
|
||||||
|
imageShowSelectedCharacter.sprite = characterFaces[id];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
PlayerPrefs.SetInt("characterID", 0);
|
||||||
|
imageShowSelectedCharacter.sprite = characterFaces[0];
|
||||||
|
}
|
||||||
|
|
||||||
copiedMessage.SetActive(false);
|
copiedMessage.SetActive(false);
|
||||||
|
|
||||||
if (PlayerPrefs.HasKey("name"))
|
if (PlayerPrefs.HasKey("name"))
|
||||||
@@ -172,5 +187,20 @@ public class StartHandler : MonoBehaviour
|
|||||||
stream.Write(new byte[] { 126, 0, 0, 0, 0, 0, 0, 0, 0, 0 });
|
stream.Write(new byte[] { 126, 0, 0, 0, 0, 0, 0, 0, 0, 0 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ButtonShowCharacterSelectMenu()
|
||||||
|
{
|
||||||
|
layout1.SetActive(false);
|
||||||
|
layoutSelectCharacter.SetActive(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ButtonSelectCharacter(int index)
|
||||||
|
{
|
||||||
|
PlayerPrefs.SetInt("characterID", index);
|
||||||
|
PlayerPrefs.Save();
|
||||||
|
|
||||||
|
imageShowSelectedCharacter.sprite = characterFaces[index];
|
||||||
|
|
||||||
|
layout1.SetActive(true);
|
||||||
|
layoutSelectCharacter.SetActive(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -12,10 +12,10 @@ EditorUserSettings:
|
|||||||
value: 55010d0300055a5a595a592641730d44104e4c287b2e71662c7b186bb3b86069
|
value: 55010d0300055a5a595a592641730d44104e4c287b2e71662c7b186bb3b86069
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedSceneGuid-2:
|
RecentlyUsedSceneGuid-2:
|
||||||
value: 0000025f04075d0f0c0a5c7149205a4417154f782e7923357e7a4560e3b4653b
|
value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedSceneGuid-3:
|
RecentlyUsedSceneGuid-3:
|
||||||
value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a
|
value: 0000025f04075d0f0c0a5c7149205a4417154f782e7923357e7a4560e3b4653b
|
||||||
flags: 0
|
flags: 0
|
||||||
UnityRemoteDevice:
|
UnityRemoteDevice:
|
||||||
value: 225f4d46245b0d4902070862342649191512
|
value: 225f4d46245b0d4902070862342649191512
|
||||||
|
|||||||
@@ -94,6 +94,7 @@
|
|||||||
<workItem from="1680215686971" duration="1247000" />
|
<workItem from="1680215686971" duration="1247000" />
|
||||||
<workItem from="1680262711476" duration="4141000" />
|
<workItem from="1680262711476" duration="4141000" />
|
||||||
<workItem from="1680274202300" duration="433000" />
|
<workItem from="1680274202300" duration="433000" />
|
||||||
|
<workItem from="1680295523012" duration="646000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||