using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Lottery : MonoBehaviour { public GameObject LotteryPanel; public Button LotteryBtn; void Start() { LotteryBtn.onClick.AddListener(LotteryClick); } void LotteryClick() { } // Update is called once per frame void Update() { } }