mmorpg2d/Assets/Script/resipies_so.cs
2025-03-15 13:34:03 +05:30

20 lines
464 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Recipe", menuName = "ScriptableObjects/Recipe", order = 1)]
public class resipies_so : ScriptableObject
{
public string name;
public string description;
public item output;
public List<RecipeIngredientEntry> ingredients;
}
[Serializable]
public class RecipeIngredientEntry{
public item item;
public int count = 1;
}