1234567891011121314151617181920 |
- 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;
- }
|