using UnityEngine; namespace DDD.ScriptableObjects { [CreateAssetMenu(fileName = "CraftRecipeTable", menuName = "ScriptableObjects/CraftRecipeTable")] public class CraftRecipeDataSo : DataSo { protected override void OnEnable() { base.OnEnable(); foreach (var element in _datas.Values) { element.ValidIngredients = element.GetValidIngredients(); element.CraftingToolQueue = element.GetCraftingToolQueue(); element.ValidHashTags = element.GetValidHashTags(); } } } }