diff --git a/Assets/GCSeries/Core/Plugins/WebGL.meta b/Assets/GCSeries/Core/Plugins/WebGL.meta new file mode 100644 index 0000000..1ac8f38 --- /dev/null +++ b/Assets/GCSeries/Core/Plugins/WebGL.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6dcc6d8ed48376e478d9a91d0846f80d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/GCSeries/Core/Plugins/x86/zCoreUnity.dll b/Assets/GCSeries/Core/Plugins/x86/zCoreUnity_86.dll similarity index 100% rename from Assets/GCSeries/Core/Plugins/x86/zCoreUnity.dll rename to Assets/GCSeries/Core/Plugins/x86/zCoreUnity_86.dll diff --git a/Assets/GCSeries/Core/Plugins/x86/zCoreUnity.dll.meta b/Assets/GCSeries/Core/Plugins/x86/zCoreUnity_86.dll.meta similarity index 90% rename from Assets/GCSeries/Core/Plugins/x86/zCoreUnity.dll.meta rename to Assets/GCSeries/Core/Plugins/x86/zCoreUnity_86.dll.meta index 92acab1..5b13052 100644 --- a/Assets/GCSeries/Core/Plugins/x86/zCoreUnity.dll.meta +++ b/Assets/GCSeries/Core/Plugins/x86/zCoreUnity_86.dll.meta @@ -5,11 +5,14 @@ PluginImporter: serializedVersion: 2 iconMap: {} executionOrder: {} + defineConstraints: [] isPreloaded: 0 isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 platformData: - first: - '': Any + : Any second: enabled: 0 settings: @@ -19,17 +22,17 @@ PluginImporter: Exclude Linux64: 0 Exclude LinuxUniversal: 0 Exclude OSXUniversal: 0 - Exclude WebGL: 0 + Exclude WebGL: 1 Exclude Win: 0 Exclude Win64: 1 - first: - '': OSXIntel + : OSXIntel second: enabled: 1 settings: CPU: AnyCPU - first: - '': OSXIntel64 + : OSXIntel64 second: enabled: 0 settings: @@ -50,7 +53,7 @@ PluginImporter: second: enabled: 1 settings: - CPU: x86 + CPU: AnyCPU DefaultValueInitialized: true OS: AnyOS - first: @@ -104,7 +107,7 @@ PluginImporter: - first: WebGL: WebGL second: - enabled: 1 + enabled: 0 settings: {} userData: assetBundleName: diff --git a/Assets/GCSeries/Core/Plugins/x86_64/zCoreUnity.dll.meta b/Assets/GCSeries/Core/Plugins/x86_64/zCoreUnity.dll.meta index 22c5b9c..575b6a1 100644 --- a/Assets/GCSeries/Core/Plugins/x86_64/zCoreUnity.dll.meta +++ b/Assets/GCSeries/Core/Plugins/x86_64/zCoreUnity.dll.meta @@ -5,11 +5,14 @@ PluginImporter: serializedVersion: 2 iconMap: {} executionOrder: {} + defineConstraints: [] isPreloaded: 0 isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 platformData: - first: - '': Any + : Any second: enabled: 0 settings: @@ -19,17 +22,17 @@ PluginImporter: Exclude Linux64: 0 Exclude LinuxUniversal: 0 Exclude OSXUniversal: 0 - Exclude WebGL: 0 + Exclude WebGL: 1 Exclude Win: 1 Exclude Win64: 0 - first: - '': OSXIntel + : OSXIntel second: enabled: 0 settings: CPU: None - first: - '': OSXIntel64 + : OSXIntel64 second: enabled: 1 settings: @@ -76,7 +79,7 @@ PluginImporter: second: enabled: 1 settings: - CPU: x86_64 + CPU: AnyCPU - first: Standalone: LinuxUniversal second: @@ -104,7 +107,7 @@ PluginImporter: - first: WebGL: WebGL second: - enabled: 1 + enabled: 0 settings: {} userData: assetBundleName: diff --git a/Assets/GCSeries/zView/Plugins/x86/zViewUnity.dll b/Assets/GCSeries/zView/Plugins/x86/zViewUnity_86.dll similarity index 100% rename from Assets/GCSeries/zView/Plugins/x86/zViewUnity.dll rename to Assets/GCSeries/zView/Plugins/x86/zViewUnity_86.dll diff --git a/Assets/GCSeries/zView/Plugins/x86/zViewUnity.dll.meta b/Assets/GCSeries/zView/Plugins/x86/zViewUnity_86.dll.meta similarity index 100% rename from Assets/GCSeries/zView/Plugins/x86/zViewUnity.dll.meta rename to Assets/GCSeries/zView/Plugins/x86/zViewUnity_86.dll.meta diff --git a/Assets/Resources/LYTWebGL.meta b/Assets/Resources/LYTWebGL.meta new file mode 100644 index 0000000..479bfdc --- /dev/null +++ b/Assets/Resources/LYTWebGL.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e2f1f4b08170f7e4d885e9154afbd7a1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Resources/LYTWebGL/RSA.txt b/Assets/Resources/LYTWebGL/RSA.txt new file mode 100644 index 0000000..3ead6dd --- /dev/null +++ b/Assets/Resources/LYTWebGL/RSA.txt @@ -0,0 +1,10 @@ + + vsWZ0Eu/pLeJblZfeAQ7p+KWQHqiJnp9UNwfHLW8Ev2EI9Kg2aPiB/DGmhPab8yCfuQuZIqJSwcCX1XzVvtIOoeeKy53VHOity0oxADtoY+TZSbJraG0+kEwE+S8HZ8u8xAoVg1xcI1a/wnS2CmZSvoqwpOFKufcosyZZeWTyQXhTipLIudmmA+KFWxRjXzcigE/46fA76MzSoH9WUaIq+d8DPJMQwURZcxmMRwIkSmzz6rss10uSdTGqM7VmewDkqeWugIjS0wzSMBKQYgv1rxbMO38hd58J0mygKtjMRdm38MUaPfm2fYCFhqRBuUXnLZ992NHpUNsXesSzlLlyw== + AQAB +

+JTwTuuxi9suxLj+qVfpWwYQ7VIpG5EubZoZrFeHNynysgTbJuSvuujN7rgpT3uejxBbUMjxaOlikECKpTdGs6gyNaAKce6SA+4xobbWmFUS4uE7RBbIXefq/jof0V/etBW4eXwG2IiB2IKhVbPyq3lVmbZcQr3Matm9oEu+H6E=

+ xHcEu0QIDKgxNYLgsmq7i+P+vLGCTXs+8EVNkBKMoyRpLpP+TPCcKnHRK7+j0Od4tD1yYNk/IGPOojjdwzouSDGpIpHNNHOwUOr/n0DVwTWIs8kTRDDVa8al+ptaD8cfssbfbdgs8QkvloX09YLZpZ5dfeKrBH3ZpEtqtjwyves= + buhEr3GJLZUFMNA5DuUiQHJcawYVQS9tP4lZmwMSWRJmLfbssFWn8gScnL2d8NB+1eW+WDTPQLegOiwRr9URvmZ0wGg/QMXob8h+bGBfLmgGnSNQhfiEPSGUPwk/2PKlMkPeopUrmMCO7kKaKNq4krj38DTkxQJZifLMIBCrKwE= + gSyIDeCTMk8726Uru+N1YGsNyF8l/2+zWCMY9ktb8MA18AwaPdhNtZKUJyGfwfEPaeKk24y7dr5o1DxzgrM0Tv9n53TZ6UzPdsSsQbdNU/Ww5hSk+EbrbCt2YinWs10HOHKN4Rkro2eYxG1bPDlGhSB09Boeu5tLiDyV8y/tZPU= + FZzsXZ8ReLoBF9hYAaxP4/41uvReXoYVi3AcJrTwtC3a3fBKGAfXB+6oMbVtU9iPOWD1C7I0ZZh3A8xhQp730bLvbbdZWrpR4eY2RnefAW9EJESHfdDCxnsAIiH7+V/gAieF7bN0G5uifx/OxQl5pogovrLWLmZ+cw3QnMLX1kY= + trGx7eK881e5S2t4Hg2fu9WpIrLOmp7vaAKF4Q7BwEX8x/mshQEHM6eH6oJczHhD+JU5QJvTg4CA6x/63C/lKfg6pwvmx3++MkITKjHhYLmI5HPS7G9SS98l1cdVx+BsK+YrWs2g97LHlDqqKs0busv9Kz3vZ/mIOHhL52OGthk7SBSL0Nbq5rCCyErQEKPk3HmVmF2nJTam3d1PK0OT7I4IH5Szn9CXt1R3kk1Y2NZb3GIrcPUaQ7+75/DlVL05Leabc/eMi/ghhyCqOotHnLw8uNf3kK6QvD/bv3C4Ikdy1ZYBpENz74OMeINWAEXZyARLgs4EryA+6F7Fw3magQ== +
\ No newline at end of file diff --git a/Assets/Resources/LYTWebGL/RSA.txt.meta b/Assets/Resources/LYTWebGL/RSA.txt.meta new file mode 100644 index 0000000..4c11c38 --- /dev/null +++ b/Assets/Resources/LYTWebGL/RSA.txt.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: fa05fa85bd33f6c4ca626c1e0317d53d +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform.meta b/Assets/WebPlatform.meta new file mode 100644 index 0000000..3c10baa --- /dev/null +++ b/Assets/WebPlatform.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1313d4092ca8d554bb23e331d88db6d1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform/LaiYiTe.meta b/Assets/WebPlatform/LaiYiTe.meta new file mode 100644 index 0000000..46d8f71 --- /dev/null +++ b/Assets/WebPlatform/LaiYiTe.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8f4e4f808ac25d946affe317d1b81545 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform/LaiYiTe/LYTWebGLHelper.cs b/Assets/WebPlatform/LaiYiTe/LYTWebGLHelper.cs new file mode 100644 index 0000000..dfbed5b --- /dev/null +++ b/Assets/WebPlatform/LaiYiTe/LYTWebGLHelper.cs @@ -0,0 +1,223 @@ +using Newtonsoft.Json; +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Runtime.InteropServices; +using System.Security.Cryptography; +using System.Text; +using UnityEngine; +using UnityEngine.Events; +using UnityEngine.Networking; + +public class LYTWebGLHelper : MonoBehaviour +{ + + + public class LabData + { + public string GUID; + public string ExpID; + public string HOST = string.Empty; + public string PARA1; + public string PARA; + public string PARA2; + } +#if UNITY_WEBGL + [DllImport("__Internal")] + private static extern IntPtr GetURLParameter(string name); +#endif + string token = string.Empty; + + LabData labData = new LabData(); + [SerializeField] + private TextAsset RSA; + private const int RsaKeySize = 2048; + + public string uploadUrl; + public static LYTWebGLHelper Instance; + private void Awake() + { +#if UNITY_WEBGL + Instance = this; + DontDestroyOnLoad(this); +#endif + } + public void Init() + { +#if UNITY_WEBGL && !UNITY_EDITOR + + var paramPtr = GetURLParameter("token"); + if (paramPtr != IntPtr.Zero) + { + string value = Marshal.PtrToStringUTF8(paramPtr); + //token = value.Replace("%2B", "+"); + token = value.Replace(" ", "+"); + Marshal.FreeHGlobal(paramPtr); // 释放分配的内存 + } + Debug.LogError("获取的:" + token); +#endif + + + + RSA = Resources.Load("LYTWebGL/RSA"); + if (string.IsNullOrEmpty(token) == false) + { + string urlData = Decrypt(token); + var datas = urlData.Split("&"); + labData.GUID = datas[0]; + labData.ExpID = datas[1]; + labData.HOST = datas[2]; + labData.PARA1 = datas[3]; + labData.PARA = datas[4]; + labData.PARA2 = datas[5]; + } + uploadUrl = Path.Combine(labData.HOST, "host/public/Exp/AddScore/"); + } + /// + /// Decrypts encrypted text given a RSA private key file path.给定路径的 RSA 私钥文件解 + + /// + /// 加密的密文 + /// 用于加密的私钥路径. + /// 未加密数据的字符串 + public string Decrypt(string encryptedText) + { + using (var rsa = new RSACryptoServiceProvider(RsaKeySize)) + { + try + { + string privateXmlKey = RSA.text; + rsa.FromXmlString(privateXmlKey); + Debug.Log("encryptedText " + encryptedText); + var bytesEncrypted = Convert.FromBase64String(encryptedText); + string b = Encoding.UTF8.GetString(bytesEncrypted); + Debug.Log("byte " + b); + //var bytesPlainText = rsa.Decrypt(bytesEncrypted, false); + var bytesPlainText = rsa.Decrypt(bytesEncrypted, false); + Debug.Log("bytesPlainText " + bytesPlainText); + return System.Text.Encoding.UTF8.GetString(bytesPlainText); + } + finally + { + rsa.PersistKeyInCsp = false; + } + } + } + + + + public void UpLoadData(int totalScore, List stepNames, List maxScore, List score) + { + if (string.IsNullOrEmpty(token)) + { + Init(); + } + var data = new UploadData(); + data.GUID = labData.GUID; + int expId = 0; + int.TryParse(labData.ExpID, out expId); + data.ExpID = expId; + data.score = totalScore; + data.flag = true; + + var list = new List(); + for (int i = 0; i < stepNames.Count; i++) + { + var step = new Expstepvtwolist(); + step.ExpStepName = stepNames[i]; + step.maxScore = maxScore[i]; + step.score = score[i]; + list.Add(step); + } + data.ExpStepVTwoList = list.ToArray(); + + StartCoroutine(SendScore(JsonConvert.SerializeObject(data))); + } + + IEnumerator SendScore(string json, UnityAction action = null) + { + if (string.IsNullOrEmpty(uploadUrl)) + { + Debug.LogError("上传接口地址错误:" + uploadUrl); + yield break; + } + Debug.LogError("上传的数据:" + json); + using (UnityWebRequest request = new UnityWebRequest(uploadUrl, "POST")) + { + request.SetRequestHeader("Content-Type", "application/json"); + request.uploadHandler = new UploadHandlerRaw(System.Text.Encoding.UTF8.GetBytes(json)); + request.downloadHandler = new DownloadHandlerBuffer(); + yield return request.SendWebRequest(); + // 处理响应 + if (request.result == UnityWebRequest.Result.ConnectionError || + request.result == UnityWebRequest.Result.ProtocolError) + { + Debug.LogError($"Upload failed: {request.uri}"); + Debug.LogError($"Upload failed: {request.error}"); + Debug.LogError($"Response Code: {request.responseCode}"); + } + else + { + Debug.Log("Upload complete!"); + Debug.Log($"Response Code: {request.responseCode}"); + Debug.Log($"Server Response: {request.downloadHandler.text}"); + Response response = JsonConvert.DeserializeObject(request.downloadHandler.text); + Debug.LogError(response.msg); + action?.Invoke(response.msg); + } + } + + } + + public class UploadData + { + public string GUID { get; set; } + // 实验 ID + public int ExpID { get; set; } + // 成绩 + public int score { get; set; } + // 标志位:默认值 true + public bool flag { get; set; } + // 实验步骤列表 + public Expstepvtwolist[] ExpStepVTwoList { get; set; } + } + + public class Expstepvtwolist + { + // 实验步骤序号 + public int seq { get; set; } + // 实验步骤名称 + public string ExpStepName = ""; + // 实验步骤状态 + public string StepState = ""; + // 实验步骤开始时间 + public DateTime startTime = default; + // 实验步骤结束时间 + public DateTime endTime = default; + // 实验步骤合理用时:单位秒 + public int expectTime = 0; + // 实验步骤满分:0 ~100,百分制 + public int maxScore = 100; + // 实验步骤得分:0 ~100,百分制 + public int score = 0; + // 实验步骤操作次数 + public int repeatCount = 1; + // 步骤评价:200 字以内 + public string evaluation = ""; + // 赋分模型:200 字以内 + public string scoringModel = ""; + // 备注 + public string remarks { get; set; } + } + + public class Response + { + public string msg; + public bool success; + } +} + + + + diff --git a/Assets/WebPlatform/LaiYiTe/LYTWebGLHelper.cs.meta b/Assets/WebPlatform/LaiYiTe/LYTWebGLHelper.cs.meta new file mode 100644 index 0000000..a2f6aa5 --- /dev/null +++ b/Assets/WebPlatform/LaiYiTe/LYTWebGLHelper.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c1b108973e2a6cd43bf6b1943d979a23 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform/LaiYiTe/Resrouces.meta b/Assets/WebPlatform/LaiYiTe/Resrouces.meta new file mode 100644 index 0000000..9d6744c --- /dev/null +++ b/Assets/WebPlatform/LaiYiTe/Resrouces.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5da36794a84f2e24aa0626b1466f6360 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform/Plugins.meta b/Assets/WebPlatform/Plugins.meta new file mode 100644 index 0000000..83ed0eb --- /dev/null +++ b/Assets/WebPlatform/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4a5ff23952c587c48ab012049e07df51 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform/Plugins/WebGL.meta b/Assets/WebPlatform/Plugins/WebGL.meta new file mode 100644 index 0000000..3a9a3ea --- /dev/null +++ b/Assets/WebPlatform/Plugins/WebGL.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 23a14a5f29ce27c4dab61a5fe698a2e9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebPlatform/Plugins/WebGL/GetParameters.jslib b/Assets/WebPlatform/Plugins/WebGL/GetParameters.jslib new file mode 100644 index 0000000..5a07628 --- /dev/null +++ b/Assets/WebPlatform/Plugins/WebGL/GetParameters.jslib @@ -0,0 +1,17 @@ +mergeInto(LibraryManager.library, { + GetURLParameter: function (name) { + const paramName = UTF8ToString(name); + const search = window.location.search.substring(1); + const params = new URLSearchParams(search); + const value = params.get(paramName); + console.log('GetURLParameter:', value); + + if (value) { + var buffer = _malloc((value.length + 1) * 2); + stringToUTF8(value, buffer, (value.length + 1) * 2); + return buffer; + } else { + return 0; + } + } +}); \ No newline at end of file diff --git a/Assets/WebPlatform/Plugins/WebGL/GetParameters.jslib.meta b/Assets/WebPlatform/Plugins/WebGL/GetParameters.jslib.meta new file mode 100644 index 0000000..8e6335e --- /dev/null +++ b/Assets/WebPlatform/Plugins/WebGL/GetParameters.jslib.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: af1b30451ed743d4f81b3f9c8c15baeb +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + - first: + WebGL: WebGL + second: + enabled: 1 + settings: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/_Scenes/Home.unity b/Assets/_Scenes/Home.unity index 72d4f90..f2d0354 100644 --- a/Assets/_Scenes/Home.unity +++ b/Assets/_Scenes/Home.unity @@ -2435,7 +2435,52 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: add14a4156b366340bb4a76d1dad5cb1, type: 3} m_Name: m_EditorClassIdentifier: - targetParent: {fileID: 0} +--- !u!1 &1619907665 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1619907666} + - component: {fileID: 1619907667} + m_Layer: 0 + m_Name: WebGL + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1619907666 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1619907665} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 960, y: 540, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1619907667 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1619907665} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c1b108973e2a6cd43bf6b1943d979a23, type: 3} + m_Name: + m_EditorClassIdentifier: + RSA: {fileID: 0} + uploadUrl: --- !u!1 &1623041755 GameObject: m_ObjectHideFlags: 0 @@ -3506,3 +3551,4 @@ SceneRoots: - {fileID: 2223146455129701296} - {fileID: 2058174970} - {fileID: 1116630619} + - {fileID: 1619907666} diff --git a/Assets/_Scripts/Application/UI/ScoreDataPanel.cs b/Assets/_Scripts/Application/UI/ScoreDataPanel.cs index 7327348..8fd9cc3 100644 --- a/Assets/_Scripts/Application/UI/ScoreDataPanel.cs +++ b/Assets/_Scripts/Application/UI/ScoreDataPanel.cs @@ -10,15 +10,15 @@ using UnityEngine.UI; *******************************************************************************/ namespace ZXK.LouDiXvMuNiu { - public class ScoreDataPanel : UIBase + public class ScoreDataPanel : UIBase { private InputField _studentNameInF = null; private InputField _studentNumberInF = null; private Text _studentTotalTxt = null; - private Text _studentActualTxt = null; + private Text _studentActualTxt = null; private Text _errorTipTxt = null; private Transform _scoreItemContent = null; - private GameObject _scoreItemPrefab = null; + private GameObject _scoreItemPrefab = null; private Button _closeBtn = null; private string _nameTemp = null; @@ -29,10 +29,10 @@ namespace ZXK.LouDiXvMuNiu _studentNameInF = GetWedage("NameTxt_N").GetComponent(); _studentNumberInF = GetWedage("NumberTxt_N").GetComponent(); _studentTotalTxt = GetWedage("TotalScoreText_N").GetComponent(); - _studentActualTxt = GetWedage("ActualScoreTxt_N").GetComponent(); + _studentActualTxt = GetWedage("ActualScoreTxt_N").GetComponent(); _errorTipTxt = GetWedage("ErroTipTxt_N").GetComponent(); _scoreItemContent = GetWedage("ScoreItemContent_N").transform; - _scoreItemPrefab = GetWedage("ScoreItemPrefab_N"); + _scoreItemPrefab = GetWedage("ScoreItemPrefab_N"); _closeBtn = GetWedage("CloseBtn_N").GetComponent