_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/RacingPanel/RacingSuccessPanel.cs

52 lines
980 B
C#
Raw Normal View History

2024-12-02 16:30:36 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class RacingSuccessPanel : BasePanel
{
public Button ReturnBtn;
public static RacingSuccessPanel instance;
public TextMeshProUGUI textSnailEggs;//<2F><>ţ<EFBFBD><C5A3><EFBFBD>ı<EFBFBD>
public List<Image> images=new List<Image>();//<2F><>ʾ<EFBFBD><CABE>ţͼƬ
public override void Start()
{
instance = this;
base.Start();
ReturnBtn.onClick.AddListener(OnClickReBtn);
}
public void OnClickReBtn()
{
HidePanel();
}
public void ShowImage()//<2F><><EFBFBD>ý<EFBFBD><C3BD><EFBFBD>չʾͼƬ
{
if (AllManeger.instance.WinNos.Count==4)
{
foreach (Image image in images)
{
}
}
}
public void SetImage(int horseId,Image image)
{
switch (horseId)
{
case 1:
break;
case 2:
break;
}
}
}