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); } }