mirror of
https://github.com/xiaopeng12138/MaiDXR.git
synced 2024-11-23 19:40:57 +01:00
fix debug button config constant write to file issue
This commit is contained in:
parent
f71d545955
commit
bb3a51a607
@ -5,8 +5,9 @@ public class DebugButton : MonoBehaviour
|
||||
{
|
||||
private void OnGUI() {
|
||||
GUILayout.BeginArea(new Rect(10, 10, 100, 300));
|
||||
if (JsonConfig.HasKey("MultiplayerDebugButton") && JsonConfig.GetBoolean("MultiplayerDebugButton"))
|
||||
if (JsonConfig.HasKey("MultiplayerDebugButton"))
|
||||
{
|
||||
if (!JsonConfig.GetBoolean("MultiplayerDebugButton")) return;
|
||||
if (GUILayout.Button("Host")) GetComponent<StartManager>().StartHost();
|
||||
if (GUILayout.Button("Client")) GetComponent<StartManager>().StartClient();
|
||||
if (GUILayout.Button("Stop")) GetComponent<StartManager>().StopAll();
|
||||
|
8
Assets/StreamingAssets.meta
Normal file
8
Assets/StreamingAssets.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5d14ecc3f9b17f749a575b472ac6a254
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1 @@
|
||||
{"Keys":["com.unity.services.core.cloud-environment","com.unity.services.qos.version","com.unity.services.lobby.version","com.unity.services.core.version","com.unity.services.authentication.version","com.unity.services.relay.version"],"Values":[{"m_Value":"production","m_IsReadOnly":true},{"m_Value":"1.0.1","m_IsReadOnly":true},{"m_Value":"1.0.1","m_IsReadOnly":true},{"m_Value":"1.4.2","m_IsReadOnly":true},{"m_Value":"2.1.1","m_IsReadOnly":true},{"m_Value":"1.0.3","m_IsReadOnly":true}]}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88a7275b87edcb7438b2199250abf0d5
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -219,6 +219,8 @@ PlayerSettings:
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: 0}
|
||||
- {fileID: -6018045015233401694, guid: 3999ab811e936714280a476b3a032d86, type: 2}
|
||||
- {fileID: 6536100391545742739, guid: 55d1ec7a4296de343b6d3bb6f9a19731, type: 2}
|
||||
metroInputSource: 0
|
||||
|
Loading…
Reference in New Issue
Block a user