_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/GLScripts/LotteryPanel.cs
2024-12-13 10:02:21 +08:00

17 lines
317 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LotteryPanel : Base
{
public GameObject AniPanel;
public void ShowAni(int id)
{
GameObject ani= Instantiate(AniPanel, transform);
ani.GetComponent<Anilottery>().OpenBox(id);
}
}