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

70 lines
1.6 KiB
C#

// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2020-12-23
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "VersionNoteBox.View" company="Kunpo"></copyright>
// <summary></summary>
// ***********************************************************************
namespace G.UI
{
using TMPro;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
///
/// </summary>
partial class VersionNoteBox
{
#region Field
#pragma warning disable CS0649 // 从未对字段赋值,字段将一直保持其默认值 null
[KUIFlag]
Button _btnConfirm;
[KUIFlag]
Button _btnClose;
[KUIFlag]
TextMeshProUGUI _tmpConfirm;
[KUIFlag]
TextMeshProUGUI _tmpContent;
[KUIFlag]
TextMeshProUGUI _tmpVersion;
#pragma warning restore CS0649 // 从未对字段赋值,字段将一直保持其默认值 null
#endregion
#region Method
/// <summary>
///
/// </summary>
public void InitView()
{
SetViewData();
_btnClose.onClick.AddListener(this.OnCloseBtnClick);
_btnConfirm.onClick.AddListener(this.OnCloseBtnClick);
}
/// <summary>
///
/// </summary>
public void RefreshView()
{
}
private void OnCloseBtnClick()
{
CloseWindow(this);
}
#endregion
}
}