23 lines
574 B
C#
23 lines
574 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class SLZPDieEvent : BJRedPacketEvent
|
|
{
|
|
private void Awake()
|
|
{
|
|
scoreCount = 1;
|
|
}
|
|
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(yan());
|
|
}
|
|
public IEnumerator yan()
|
|
{
|
|
yield return new WaitForSeconds(4f);
|
|
CallBJ();
|
|
}
|
|
}
|