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