Files
5.24BuYu/Assets/MyGame/aa/Game/FLZY/BOSS/LLBT/LLBTDieEvent.cs
T
2026-09-03 16:20:30 +08:00

34 lines
801 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LLBTDieEvent : BJRedPacketEvent
{
public GameObject obj;
private void Awake()
{
scoreCount = 2;
}
public override void Init(long goldCount, int posID, long paobei, long fishScore, int beishu, Action<int> action, Action action1 = null)
{
base.Init(goldCount, posID, paobei, fishScore, beishu, action, action1);
//StartCoroutine(yanshi());
}
public void bjLLBT()
{
CallBJ();
}
IEnumerator yanshi()
{
yield return new WaitForSeconds(3.5f);
CallBJ();
yield return new WaitForSeconds(5f);
CallBJ();
yield return new WaitForSeconds(3.6f);
obj.SetActive(false);
}
}