//--------------------------------------------------------
|
// [Author]: 第二世界
|
// [ Date ]: Wednesday, May 08, 2019
|
//--------------------------------------------------------
|
|
using System;
|
using System.Collections;
|
using System.Collections.Generic;
|
using UnityEngine;
|
using UnityEngine.UI;
|
|
namespace Snxxz.UI
|
{
|
|
public class CreateRoleMovieSkipWin : Window
|
{
|
[SerializeField] Button m_Skip;
|
|
#region Built-in
|
protected override void BindController()
|
{
|
}
|
|
protected override void AddListeners()
|
{
|
m_Skip.SetListener(Skip);
|
}
|
|
protected override void OnPreOpen()
|
{
|
m_Skip.gameObject.SetActive(false);
|
if (Application.isEditor)
|
{
|
Clock.AlarmAfter(5, () => { m_Skip.gameObject.SetActive(true); });
|
}
|
}
|
|
protected override void OnAfterOpen()
|
{
|
}
|
|
protected override void OnPreClose()
|
{
|
}
|
|
protected override void OnAfterClose()
|
{
|
}
|
#endregion
|
|
private void Skip()
|
{
|
m_Skip.gameObject.SetActive(false);
|
CreateRolePostProcessor.Skip();
|
}
|
|
}
|
|
}
|