Files
ft/Client/Assets/Scripts/EventCubeMelt/EmptyCellRender.cs
2026-06-29 21:18:33 +08:00

36 lines
847 B
C#

using System;
using System.Threading.Tasks;
using UnityEngine;
namespace EventCubeMelt
{
public class EmptyCellRender : MonoBehaviour
{
// 特效直接挂身上可以不
// [SerializeField] private GameObject fxDisAppear;
//-
private GameObject _disappearEffectGo;
private void Awake()
{
// if (fxDisAppear)
// {
// _disappearEffectGo = Instantiate(fxDisAppear,transform);
// _disappearEffectGo?.SetActive(false);
// }
}
#region
public async Task RunClearAnimation()
{
_disappearEffectGo?.SetActive(true);
await Awaiters.Seconds(0.8f);
_disappearEffectGo?.SetActive(false);
}
#endregion
}
}