//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Monday, January 28, 2019
|
//--------------------------------------------------------
|
|
using System;
|
using UnityEngine;
|
using UnityEngine.UI;
|
using vnxbqy.UI;
|
using System.Collections.Generic;
|
|
public class CrossServerQualifyingOfficialNoteWin : ILWindow
|
{
|
Button close;
|
RichText note;
|
|
#region Built-in
|
protected override void BindController()
|
{
|
close = proxy.GetWidgtEx<Button>("Btn_Close");
|
note = proxy.GetWidgtEx<RichText>("Rule");
|
}
|
|
protected override void AddListeners()
|
{
|
close.SetListener(()=> {
|
WindowCenter.Instance.CloseIL<CrossServerQualifyingOfficialNoteWin>();
|
});
|
|
}
|
|
protected override void OnPreOpen()
|
{
|
note.text = CrossServerQualifyingModel.Instance.challengeRecord;
|
}
|
|
|
|
protected override void OnPreClose()
|
{
|
CrossServerQualifyingModel.Instance.challengeRecord = "";
|
}
|
#endregion
|
|
}
|