CultivationOfBrewing/Assets/Scripts/UI/UIItem/UI_TipsForPracticePanelPPTN...

50 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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());
// }
//}
}