예제 #1
0
 public void StartDownLoad()
 {
     if (!RideRunGameData.Instance().IsUpdated)
     {
         animator.SetBool(Animator.StringToHash("download"), true);
         text.text = "下载中。。。";
         StartCoroutine(LoadLuaAssets());
         RideRunGameData.Instance().IsUpdated = true;
     }
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     if (!RideRunGameData.Instance().IsUpdated)
     {
         Pop.SetActive(true);
     }
     else
     {
         UpdatePanel.SetActive(false);
     }
 }