浏览代码

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

蓝色星空 2 年之前
父节点
当前提交
9cee6507e0
共有 2 个文件被更改,包括 3 次插入5 次删除
  1. 2 4
      Assets/Studio/XRLib/Codes/TestMVC/LoginDlg.cs
  2. 1 1
      ProjectSettings/ProjectSettings.asset

+ 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}