//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Tuesday, January 23, 2018
|
//--------------------------------------------------------
|
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace vnxbqy.UI {
|
|
public class GatherSoulBaseWin : OneLevelWin
|
{
|
|
|
protected override void AddListeners()
|
{
|
base.AddListeners();
|
SetFunctionListener(0, OpenGatherSoul);
|
SetFunctionListener(1, OpenXunbao);
|
}
|
|
protected override void OnPreOpen()
|
{
|
base.OnPreOpen();
|
|
}
|
|
protected override void OnActived()
|
{
|
|
base.OnActived();
|
}
|
|
protected override void OnPreClose()
|
{
|
base.OnPreClose();
|
}
|
|
|
|
|
private void OpenGatherSoul()
|
{
|
CloseSubWindows();
|
functionOrder = 0;
|
WindowCenter.Instance.Open<GatherSoulWin>();
|
}
|
|
private void OpenXunbao()
|
{
|
CloseSubWindows();
|
functionOrder = 1;
|
WindowCenter.Instance.Open<GatherSoulXBWin>();
|
}
|
}
|
|
}
|
|
|
|
|