52 lines
980 B
C#
52 lines
980 B
C#
|
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;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|