Files
ft/Client/Assets/Scripts/EventMowForTreasure/Act/EventMowForTreasureObstacleCell_Landmine.cs
2026-06-29 21:18:33 +08:00

22 lines
700 B
C#

using System;
using UnityEngine;
namespace EventMowForTreasure
{
public class EventMowForTreasureObstacleCell_Landmine : EventMowForTreasureObstacleCell
{
[Header("special cell=>地雷")] [SerializeField]
private float specialCellAniDelayTime = 0.3f;
public override void SetData(EventMowForTreasureObstacleData data, Action<EventMowForTreasureObstacleCell> clickAction)
{
ObstacleData = data;
ClickAction = clickAction;
if (ObstacleData == null) return;
_= PlayBreakEffect();
}
public float GetSpecialCellAniDelayTime()
{
return specialCellAniDelayTime;
}
}
}