| | |
| | | [SerializeField] Image m_BackGround;
|
| | | [SerializeField] RectTransform m_AndroidProgressContainer;
|
| | | [SerializeField] SmoothSlider m_PartProgressSlider;
|
| | | [SerializeField] Text m_PartProgress;
|
| | | [SerializeField] SmoothSlider m_TotalProgressSlider;
|
| | | [SerializeField] Text m_TotalProgress;
|
| | | [SerializeField] Text m_StageDescription;
|
| | | [SerializeField] RectTransform m_IosProgressContainer;
|
| | | [SerializeField] Text m_IosProgressTip;
|
| | |
| | | {
|
| | | var progressInfo = Launch.progressInfo;
|
| | |
|
| | |
|
| | | if (progressInfo.stage == Launch.LaunchStage.DownLoad)
|
| | | {
|
| | | if (m_PartProgressSlider.gameObject.activeInHierarchy)
|
| | |
| | | }
|
| | |
|
| | | m_TotalProgressSlider.value = progressInfo.totalProgress;
|
| | | m_TotalProgress.text = StringUtility.Contact(Mathf.RoundToInt(progressInfo.totalProgress * 100), "%");
|
| | |
|
| | | m_PartProgressSlider.value = progressInfo.partProgress;
|
| | | m_PartProgress.text = StringUtility.Contact(Mathf.RoundToInt(progressInfo.partProgress * 100), "%");
|
| | | }
|
| | |
|
| | | DisplayStageDescription(progressInfo.stage);
|