using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShopEventCheck : MonoBehaviourSingletonTemplate { public UIGrid grid_shopevent; // Start is called before the first frame update void Start() { if (ServerInfo.Ins.m_ServerData.Get_Common(eCommon.GuideStep) < 26 || grid_shopevent.transform.childCount == 0) gameObject.SetActive(false); } }