15 lines
438 B
C#
15 lines
438 B
C#
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);
|
|
}
|
|
} |