ZXP 1 anno fa
parent
commit
500ecac4ca

+ 0 - 2
Assets/Scripts/Login.cs

@@ -72,8 +72,6 @@ public class Login : SingletonBaseMono<Login>
         {
             transform.position = new Vector3(transform.position.x, transform.position.y, 10);
         }
-
-        Debug.Log(axis);
     }
 
     /// <summary>

+ 4 - 1
Assets/Scripts/PlayList.cs

@@ -98,7 +98,10 @@ public class PlayList : MonoBehaviour
             waitTime = 9999999;
             selectPrefab.SelectPrefabCreateInit((QuestionData value) =>
             {
-                saveData.Add(value);
+                if (value.isUpData)
+                {
+                    saveData.Add(value);
+                }
                 waitTime = 0;
             });
         }

+ 9 - 1
Assets/UpData.cs

@@ -64,7 +64,15 @@ public class UpData : MonoBehaviour
                     obj.falseObject.SetActive(true);
                     obj.trueObject.SetActive(false);
                     WrongQuestionsItem item = new WrongQuestionsItem();
-                    item.questionId = i.ToString();
+                    if (state == 1)
+                    {
+                        item.questionId = "KTXW" + i.ToString("D3");
+                    }
+                    else
+                    {
+                        item.questionId = "GJRZ" + i.ToString("D3");
+                    }
+
                     item.userWrongOption = saveData[i].selectIndex;
                     arrayData.wrongQuestions.Add(item);
                     arrayData.wrongCount += 1;

+ 1 - 4
ProjectSettings/ProjectSettings.asset

@@ -140,10 +140,7 @@ PlayerSettings:
     16:9: 1
     Others: 1
   bundleVersion: 0.1
-  preloadedAssets:
-  - {fileID: 11400000, guid: 71609cae5115a9c48a55d69900e47fa4, type: 2}
-  - {fileID: 11400000, guid: 9953094977e9c214abbe81577a8ebb24, type: 2}
-  - {fileID: 1029437730009618294, guid: 46af8c7be485534469cb459b30031684, type: 2}
+  preloadedAssets: []
   metroInputSource: 0
   wsaTransparentSwapchain: 0
   m_HolographicPauseOnTrackingLoss: 1

粤ICP备19079148号