using CG.Framework; using CG.UTility; using Newtonsoft.Json; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; /******************************************************************************* *Create By CG *Function *******************************************************************************/ namespace ZXK.LouDiXvMuNiu { public class ScoreDataPanel : UIBase { private InputField _studentNameInF = null; private InputField _studentNumberInF = null; private Text _studentTotalTxt = null; private Text _studentActualTxt = null; private Text _errorTipTxt = null; private Transform _scoreItemContent = null; private GameObject _scoreItemPrefab = null; private Button _closeBtn = null; private string _nameTemp = null; protected override void Awake() { base.Awake(); _studentNameInF = GetWedage("NameTxt_N").GetComponent(); _studentNumberInF = GetWedage("NumberTxt_N").GetComponent(); _studentTotalTxt = GetWedage("TotalScoreText_N").GetComponent(); _studentActualTxt = GetWedage("ActualScoreTxt_N").GetComponent(); _errorTipTxt = GetWedage("ErroTipTxt_N").GetComponent(); _scoreItemContent = GetWedage("ScoreItemContent_N").transform; _scoreItemPrefab = GetWedage("ScoreItemPrefab_N"); _closeBtn = GetWedage("CloseBtn_N").GetComponent