2025-05-18 01:04:31 +08:00

67 lines
1.3 KiB
C#

// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2022-04-03
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "RideWindow" company="Kunpo"></copyright>
// <summary></summary>
// ***********************************************************************
namespace G.UI
{
public partial class RideWindow : KUIWindow
{
#region Constructor
public static RideWindow Instance;
public RideWindow()
: base(UILayer.kNormal, UIMode.kSequenceRemove)
{
uiPath = "ui_battle/ui_w_ride.prefab";
Instance = this;
}
#endregion
#region Method
#endregion
#region Unity
/// <summary>
///
/// </summary>
public override void Awake()
{
InitView();
}
/// <summary>
///
/// </summary>
public override void OnEnable()
{
RefreshView();
RegisterThis();
PostNotification(GlobalDefine.EVENT_WINDOW_OPENED, null, nameof(RideWindow));
}
public override void OnDisable()
{
UnregisterThis();
}
/// <summary>
///
/// </summary>
public override void UpdatePerSecond()
{
}
#endregion
}
}