Advertisement
evelynshilosky

CookingData - Part 35

Mar 19th, 2024
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. [CreateAssetMenu(fileName = "CookingData", menuName = "ScriptableObjects/CookingData", order = 1)]
  6. public class CookingData : ScriptableObject
  7. {
  8.     public List<string> validFuels = new List<string>();
  9.  
  10.     public List<CookableFood> validFoods = new List<CookableFood>();
  11. }
  12.  
  13. [System.Serializable]
  14. public class CookableFood
  15. {
  16.     public string name;
  17.     public float timeToCook;
  18.     public string cookedFoodName;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement