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().OpenBox(id); } }