| System/AssetVersion/MapAssetDownLoadProgress.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/AssetVersion/MapAssetDownLoadProgress.cs
@@ -17,20 +17,6 @@ this.onComplete = onComplete; } private void OnEnable() { var progress = InGameDownLoad.Instance.GetMapAssetDownLoadProgress(mapId); if (progress >= 0.9999f) { Destroy(this.gameObject); } else { m_Progress.text = StringUtility.Contact(Language.Get("LoadMap"), Mathf.Clamp((int)(progress * 100), 0, 100), "%"); m_SliderProgress.fillAmount = Mathf.Clamp01(progress + 0.2f); } } void Update() { var progress = InGameDownLoad.Instance.GetMapAssetDownLoadProgress(mapId);