Files
MinFt/Client/Assets/Scripts/UI/Shop/WinterSnowEntranceButton.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

38 lines
1.3 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using asap.core;
using GameCore;
using TMPro;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
public class WinterSnowEntranceButton : MonoBehaviour
{
[SerializeField] private TMP_Text textTimer;
[SerializeField] private Button btn;
// private ThanksGivingPackData _data;
private const string RedPointKey = "home.thanks_giving";
private void Awake()
{
// _data = GContext.container.Resolve<FishingEventData>().ThanksGivingPackData;
// if (!_data.IsActive)
// {
// gameObject.SetActive(false);
// return;
// }
// textTimer.text = ConvertTools.ConvertTime2(_data.RemainingTime);
// if (_data.RemainingTime.TotalSeconds <= 0)
// gameObject.SetActive(false);
// Observable.Interval(TimeSpan.FromSeconds(1.0f)).Subscribe(_ =>
// {
// textTimer.text = ConvertTools.ConvertTime2(_data.RemainingTime);
// if (_data.RemainingTime.TotalSeconds <= 0)
// gameObject.SetActive(false);
// }).AddTo(this);
// btn.onClick.AddListener(_data.ShowChainPack);
// RedPointManager.Instance.SetRedPointState(RedPointKey, _data.DoNeedPackRedPoint);
}
}