50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
using System.Collections;
|
||
using System.Collections.Generic;
|
||
using TMPro;
|
||
using UnityEngine;
|
||
using UnityEngine.UI;
|
||
|
||
public class UI_TipsForPracticePanelPPTNameItem : BaseItem
|
||
{
|
||
/// <summary>
|
||
/// ×ó²àpptÃû×Ö
|
||
/// </summary>
|
||
public TextMeshProUGUI PPTName_Text;
|
||
|
||
/// <summary>
|
||
/// ×ÔÉí°´Å¥
|
||
/// </summary>
|
||
public Button PPTName_Btn;
|
||
|
||
public UI_TipsForPracticePanel practicePanel;
|
||
|
||
/// <summary>
|
||
/// ³õʼ»¯
|
||
/// </summary>
|
||
/// <param name="LabelDate"></param>
|
||
public void Init(string LabelDate)
|
||
{
|
||
PPTName_Text.text = LabelDate;
|
||
}
|
||
|
||
//protected override void OnClick(string btnName)
|
||
//{
|
||
// switch (btnName)
|
||
// {
|
||
// case "333":
|
||
// default:
|
||
// break;
|
||
// }
|
||
//}
|
||
|
||
//public void RoadPPT(string btnName)
|
||
//{
|
||
// List<Texture2D> textures = LoadPPTTest.LoadPPTItems(btnName);
|
||
// if (textures != null)
|
||
// {
|
||
// practicePanel.DisplayPPT(textures);
|
||
// StartCoroutine(practicePanel.RefreshScrollView());
|
||
// }
|
||
//}
|
||
}
|