20 lines
529 B
C#
20 lines
529 B
C#
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
[CreateAssetMenu(fileName = "ProductDefinition", menuName = "Riversong Code Showcase/Product Definition")]
|
|
public class ProductDefinition : GameDataAsset
|
|
{
|
|
public string ProductName;
|
|
|
|
[PreviewField]
|
|
public Sprite Icon;
|
|
|
|
public AssetReferenceGameObject ProductStackVisualization;
|
|
|
|
public AssetReferenceGameObject CarriedVisualization;
|
|
}
|
|
}
|