22 lines
700 B
C#
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;
|
|
}
|
|
}
|
|
} |