void GetClientVersion()
        {
            _appVersion = VersionConfig.app_version;
            if (_lastVersionFile != null)
            {
                _resVersion = _lastVersionFile.resVersion;
                return;
            }
            string verionFilePath = string.Format("{0}/{1}", DownloadConfig.downLoadPath, VersionConfig.VersionFileName);
            //获得上一次客户端更新到的版本
            string content = SimpleLoader.LoadText(verionFilePath);

            if (string.IsNullOrEmpty(content))
            {
                _resVersion = VersionConfig.res_version;
            }
            else
            {
                VersionHelper.ParseVersionFile(content, ref _lastVersionFile);
                _resVersion = _lastVersionFile.resVersion;
            }
        }
 void OnGUI()
 {
     if (GUI.Button(new Rect(Screen.width / 2, Screen.height / 2 - 200, 200, 200), "LoadScene"))
     {
         SceneManager.LoadScene("scene1");
     }
     if (GUI.Button(new Rect(Screen.width / 2, Screen.height / 2, 200, 200), "LoadPrefab"))
     {
         if (!string.IsNullOrEmpty(_prefabName))
         {
             string prefabName = "Prefabs/" + _prefabName;
             Debug.Log("prefabName  is " + prefabName);
             SimpleLoader.InstantiateGameObject(prefabName);
         }
     }
     if (GUI.Button(new Rect(Screen.width / 2, Screen.height / 2 + 200, 200, 200), "LoadTxt"))
     {
         string txtName = "StaticData/Test.txt";
         string txt     = SimpleLoader.LoadText(txtName);
         Debug.Log("txt is " + txt);
     }
     _prefabName = GUI.TextField(new Rect(Screen.width - 200, 10, 200, 200), _prefabName);
 }