// *********************************************************************** // Assembly : Game // Author : Kimch // Created : 2020-12-23 // Description : // Last Modified By : // Last Modified On : // *********************************************************************** // // // *********************************************************************** namespace G.UI { using TMPro; using UnityEngine; using UnityEngine.UI; /// /// /// 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 /// /// /// public void InitView() { SetViewData(); _btnClose.onClick.AddListener(this.OnCloseBtnClick); _btnConfirm.onClick.AddListener(this.OnCloseBtnClick); } /// /// /// public void RefreshView() { } private void OnCloseBtnClick() { CloseWindow(this); } #endregion } }