using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class UI_TipsForPracticePanelPPTNameItem : BaseItem
{
///
/// 左侧ppt名字
///
public TextMeshProUGUI PPTName_Text;
///
/// 自身按钮
///
public Toggle PPTName_Tog;
public UI_TipsForPracticePanel practicePanel;
private ToggleGroup toggleGroup;
///
/// 初始化
///
///
public void Init(string LabelDate)
{
PPTName_Text.text = LabelDate;
toggleGroup = GetComponentInParent();
PPTName_Tog.group = toggleGroup;
//LoadPPTTest.AdjustImageWidth(PPTName_Text,PPTName_Tog.GetComponent(), 30, 52);
}
public override void ShowMe()
{
base.ShowMe();
}
public override void HideMe()
{
base.HideMe();
}
//protected override void OnClick(string btnName)
//{
// switch (btnName)
// {
// case "333":
// default:
// break;
// }
//}
//public void RoadPPT(string btnName)
//{
// List textures = LoadPPTTest.LoadPPTItems(btnName);
// if (textures != null)
// {
// practicePanel.DisplayPPT(textures);
// StartCoroutine(practicePanel.RefreshScrollView());
// }
//}
}