_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/kuangChang10/NoItem.cs

28 lines
646 B
C#
Raw Normal View History

2024-12-06 16:14:45 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class NoItem : Base
{
[Header("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")] 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();
}
}
}