28 lines
646 B
C#
28 lines
646 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class NoItem : Base
|
|
{
|
|
[Header("¿ªÆô¿¨²Û")] public Button StartButton;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
StartButton.onClick.AddListener(StartKacap);
|
|
}
|
|
|
|
async void StartKacap()
|
|
{
|
|
openSlot105 openSlot5 = new openSlot105();
|
|
bool IsSucessful=await openSlot5.OpenSlot();
|
|
string strIS= await openSlot5.OpenSlotstr();
|
|
addEventPopUp(strIS);
|
|
if (IsSucessful)
|
|
{
|
|
KuangChang.Instance.IninItem();
|
|
}
|
|
|
|
}
|
|
}
|