_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/GLScripts/LotteryPanel.cs
2024-12-13 15:35:22 +08:00

33 lines
578 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LotteryPanel : Base
{
public GameObject AniPanel;
public MotherFuck532 MotherFuck532;
public Lottery532 lottery532;
private void Start()
{
GetRewardInfo532();
}
public void ShowAni(int id)
{
GameObject ani= Instantiate(AniPanel, transform);
ani.GetComponent<Anilottery>().OpenBox(id);
}
public async void GetRewardInfo532()
{
lottery532 = await MotherFuck532.Result();
}
}