using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NoCard : Base { // Start is called before the first frame update public Button OpenButton; async void Start() { OpenButton.onClick.AddListener((async () => { //9.3 buyNewFactory buyNewFactory = new buyNewFactory(); BuyNewFactoryResponse buyNewFactoryResponse = await buyNewFactory.BuyNewFactory(); string strIS = buyNewFactoryResponse.message; addEventPopUp(strIS); if (buyNewFactoryResponse.code == 200) { SnaolHouse.Instance.InitItem(); } })); } // Update is called once per frame void Update() { this.transform.localScale = new Vector3(1, 1, 1); } }