49 lines
989 B
C#
49 lines
989 B
C#
|
using Runtime.UI.Other;
|
||
|
using UnityEngine.UI;
|
||
|
using TMPro;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace HK
|
||
|
{
|
||
|
public class Product4LineItem : UIItemBase
|
||
|
{
|
||
|
[SerializeField] private Button btnNext;
|
||
|
[SerializeField] private NotebookLineBar NotebookLineBar;
|
||
|
|
||
|
public override void OnInit()
|
||
|
{
|
||
|
base.OnInit();
|
||
|
|
||
|
#region AutoGen_Init
|
||
|
|
||
|
btnNext = GetValue<Button>("btnNext");
|
||
|
NotebookLineBar = GetValue<NotebookLineBar>("NotebookLineBar");
|
||
|
|
||
|
btnNext.onClick.AddListener(OnClickbtnNext);
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
|
||
|
#region AutoGen_Method
|
||
|
|
||
|
private void OnClickbtnNext()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
#endregion
|
||
|
|
||
|
public override void OnDispose()
|
||
|
{
|
||
|
base.OnDispose();
|
||
|
|
||
|
#region AutoGen_Dispose
|
||
|
|
||
|
btnNext.onClick.RemoveListener(OnClickbtnNext);
|
||
|
|
||
|
btnNext = null;
|
||
|
NotebookLineBar = null;
|
||
|
|
||
|
#endregion
|
||
|
}
|
||
|
}
|
||
|
}
|