//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Wednesday, July 25, 2018
|
//--------------------------------------------------------
|
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace vnxbqy.UI {
|
|
public class ConfirmPopupFairyWin : Window
|
{
|
[SerializeField] Text m_UnionLevel_Text;//仙盟等级
|
[SerializeField] Text m_UnionNow_Text;//仙盟人物上限
|
[SerializeField] Text m_UnionMaxMoney_Text;//所需资金
|
[SerializeField] Button m_CloseBtn;
|
[SerializeField] Button m_OkBtn;
|
#region Built-in
|
protected override void BindController()
|
{
|
}
|
|
protected override void AddListeners()
|
{
|
m_CloseBtn.AddListener(()=> { Close(); });
|
m_OkBtn.AddListener(()=> { Close(); });
|
}
|
|
protected override void OnPreOpen()
|
{
|
m_UnionLevel_Text.text = Language.Get("LoadIconLV", PlayerDatas.Instance.fairyData.fairy.FamilyLV);
|
int _familyLv = (int)PlayerDatas.Instance.fairyData.fairy.FamilyLV;
|
m_UnionNow_Text.text= FamilyConfig.Get(_familyLv).memberCnt+Language.Get("Fairy_D");
|
var configNow = FamilyConfig.Get(_familyLv);
|
m_UnionMaxMoney_Text.text = configNow.weekMissionMoneyMax.ToString();
|
}
|
|
protected override void OnAfterOpen()
|
{
|
}
|
|
protected override void OnPreClose()
|
{
|
}
|
|
protected override void OnAfterClose()
|
{
|
}
|
#endregion
|
|
}
|
|
}
|
|
|
|
|