//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Friday, November 03, 2017
|
//--------------------------------------------------------
|
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace Snxxz.UI
|
{
|
|
public class FindPreciousSubscribeHintWin : Window
|
{
|
[SerializeField]
|
Button m_Close;
|
|
[SerializeField] Text m_HintContent;
|
|
#region Built-in
|
protected override void BindController()
|
{
|
}
|
|
protected override void AddListeners()
|
{
|
m_Close.AddListener(CloseClick);
|
}
|
|
protected override void OnPreOpen()
|
{
|
if (WindowCenter.Instance.IsOpen<DemonJarWin>())
|
{
|
m_HintContent.text = Language.Get("DemonJar_Focus");
|
}
|
else if (WindowCenter.Instance.IsOpen<FindPreciousFrameWin>())
|
{
|
m_HintContent.text = Language.Get("FightTreasure_Focus");
|
}
|
else if (WindowCenter.Instance.IsOpen<CrossServerBossWin>())
|
{
|
m_HintContent.text = Language.Get("FightTreasure_Focus");
|
}
|
}
|
|
protected override void OnAfterOpen()
|
{
|
}
|
|
protected override void OnPreClose()
|
{
|
}
|
|
protected override void OnAfterClose()
|
{
|
}
|
#endregion
|
|
}
|
|
}
|