18 lines
385 B
C#
18 lines
385 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
[System.Serializable]
|
||
|
|
public class GoodsView
|
||
|
|
{
|
||
|
|
public ItemType goodsType;
|
||
|
|
public GameObject gameObj;
|
||
|
|
}
|
||
|
|
|
||
|
|
[CreateAssetMenu(fileName = "GoodsSO", menuName = "GoodsSO")]
|
||
|
|
public class GoodsSO : ScriptableObject
|
||
|
|
{
|
||
|
|
// public GoodsType
|
||
|
|
public List<GoodsView> goodsModel = new List<GoodsView>();
|
||
|
|
}
|