_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/GLScripts/LotteryPanel.cs

16 lines
298 B
C#
Raw Normal View History

2024-12-12 21:02:09 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LotteryPanel : Base
{
public GameObject AniPanel;
public void ShowAni(int id)
{
Instantiate(AniPanel, transform);
AniPanel.GetComponent<Anilottery>().OpenBox(id);
}
}