Project_WL/Assets/Script/UI/Shop/ShopEventCheck.cs

15 lines
438 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShopEventCheck : MonoBehaviourSingletonTemplate<ShopEventCheck>
{
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);
}
}