Преглед изворни кода

默认账号lc1,关闭场景调试

蓝色星空 пре 1 година
родитељ
комит
eadac91226
2 измењених фајлова са 3 додато и 5 уклоњено
  1. 1 3
      Assets/Game/ShowLogin/LangChaoLogin.cs
  2. 2 2
      Assets/Scenes/LangChaoDemo2.unity

+ 1 - 3
Assets/Game/ShowLogin/LangChaoLogin.cs

@@ -53,12 +53,10 @@ namespace GHZLangChao
         /// </summary>
         private void OnClickLogin()
         {
-#if UNITY_EDITOR
-            mAccountStr = "dgj1";
+            mAccountStr = "lc1";
             mPasswordStr = "1";
             mAccount_Input.text = mAccountStr;
             mPassword_Input.text = mPasswordStr;
-#endif
 
             if (string.IsNullOrWhiteSpace(mAccountStr) || string.IsNullOrWhiteSpace(mPasswordStr)) return;
             EndustryLoginUserInfo sendLogin = new EndustryLoginUserInfo()

+ 2 - 2
Assets/Scenes/LangChaoDemo2.unity

@@ -5359,7 +5359,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!224 &398219260
 RectTransform:
   m_ObjectHideFlags: 0
@@ -20147,7 +20147,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!224 &1456619378
 RectTransform:
   m_ObjectHideFlags: 0