Quellcode durchsuchen

仅编辑器自动登录,更改安装包名称

蓝色星空 vor 1 Jahr
Ursprung
Commit
9cee6507e0

+ 2 - 4
Assets/Studio/XRLib/Codes/TestMVC/LoginDlg.cs

@@ -178,12 +178,10 @@ namespace ShadowStudio.UI
         }
         private void OnClickLogin()
         {
-            //userInputField.text = "HBKC217147";
-            //passwordInputField.text = "HBKC217147";
-
+#if UNITY_EDITOR
             userInputField.text = "ycst0003";
             passwordInputField.text = "yc123456";
-
+#endif
             if (userInputField.text == "" || passwordInputField.text == "")
             {
                 if (userInputField.text == "")

+ 1 - 1
ProjectSettings/ProjectSettings.asset

@@ -13,7 +13,7 @@ PlayerSettings:
   useOnDemandResources: 0
   accelerometerFrequency: 60
   companyName: shadowcreator
-  productName: MRSpace(Server)
+  productName: MRSpace
   defaultCursor: {fileID: 0}
   cursorHotspot: {x: 0, y: 0}
   m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}