//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Wednesday, March 28, 2018
|
//--------------------------------------------------------
|
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
using System.IO;
|
|
namespace vnxbqy.UI
|
{
|
|
public class VersionUpdateWin : Window
|
{
|
[SerializeField] Button m_Confirm;
|
[SerializeField] RichText m_Info;
|
|
#region Built-in
|
|
protected override void BindController()
|
{
|
m_Confirm.AddListener(Confirm);
|
}
|
|
protected override void AddListeners()
|
{
|
}
|
|
protected override void OnPreOpen()
|
{
|
m_Info.text = Language.GetFromLocal(9);
|
}
|
|
protected override void OnAfterOpen()
|
{
|
}
|
|
protected override void OnPreClose()
|
{
|
}
|
|
protected override void OnAfterClose()
|
{
|
}
|
|
#endregion
|
|
|
|
private void Confirm()
|
{
|
ynmbxxjUtil.Instance.GoToAppStore(VersionUtility.Instance.versionInfo.downUrl, "com.android.vending");
|
}
|
}
|
|
}
|
|
|
|
|