23 lines
471 B
C#
23 lines
471 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class WorkingLineNameOrEquipmentDualName : BaseItem
|
|
{
|
|
public Action<GameObject> callBack;
|
|
protected override void OnClick(string btnName)
|
|
{
|
|
|
|
switch (btnName)
|
|
{
|
|
case "RemoveBtn":
|
|
callBack?.Invoke(gameObject);
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
}
|