PO/Assets/Inventory/EquipmentButton.cs

15 lines
275 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EquipmentButton : MonoBehaviour
{
public int num;
public void OnClick()
{
Inventory.main.lastCardNum = num;
EquipmentInfo.main.CardAbout(num);
}
}