//-------------------------------------------------------- 
 | 
//    [Author]:           第二世界 
 | 
//    [  Date ]:           Wednesday, May 08, 2019 
 | 
//-------------------------------------------------------- 
 | 
  
 | 
using System; 
 | 
using System.Collections; 
 | 
using System.Collections.Generic; 
 | 
using UnityEngine; 
 | 
using UnityEngine.UI; 
 | 
  
 | 
namespace vnxbqy.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.SetActive(false); 
 | 
            Clock.AlarmAfter(5, () => { m_Skip.SetActive(true); }); 
 | 
        } 
 | 
  
 | 
        protected override void OnAfterOpen() 
 | 
        { 
 | 
        } 
 | 
  
 | 
        protected override void OnPreClose() 
 | 
        { 
 | 
        } 
 | 
  
 | 
        protected override void OnAfterClose() 
 | 
        { 
 | 
        } 
 | 
        #endregion 
 | 
  
 | 
        private void Skip() 
 | 
        { 
 | 
            m_Skip.SetActive(false); 
 | 
            CreateRolePostProcessor.Skip(); 
 | 
        } 
 | 
  
 | 
    } 
 | 
  
 | 
} 
 |