17 lines
344 B
C#
17 lines
344 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public abstract class ItemSelector : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
protected List<RectTransform> ItemList;
|
|
|
|
public RectTransform GetItemTemplate(object data)
|
|
{
|
|
return OnGetTemplate(data);
|
|
}
|
|
|
|
protected abstract RectTransform OnGetTemplate(object data);
|
|
}
|
|
|