Add Delivery Manager logic and random recipe request generation
This commit is contained in:
parent
7e1cbafa47
commit
8c5f4f2acf
21 changed files with 360 additions and 13 deletions
10
Assets/Scripts/ScriptableObjects/RecipeListSO.cs
Normal file
10
Assets/Scripts/ScriptableObjects/RecipeListSO.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
// Commented out for saftey. There should only be one master list of valid recipes.
|
||||
// [CreateAssetMenu()]
|
||||
public class RecipeListSO : ScriptableObject
|
||||
{
|
||||
public List<RecipeSO> recipeSOList;
|
||||
}
|
11
Assets/Scripts/ScriptableObjects/RecipeListSO.cs.meta
Normal file
11
Assets/Scripts/ScriptableObjects/RecipeListSO.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 46220a004a45c204795d21699178fcd2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
12
Assets/Scripts/ScriptableObjects/RecipeSO.cs
Normal file
12
Assets/Scripts/ScriptableObjects/RecipeSO.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu()]
|
||||
public class RecipeSO : ScriptableObject
|
||||
{
|
||||
|
||||
public List<KitchenObjectSO> kitchenObjectSoList;
|
||||
public string recipeName;
|
||||
|
||||
}
|
11
Assets/Scripts/ScriptableObjects/RecipeSO.cs.meta
Normal file
11
Assets/Scripts/ScriptableObjects/RecipeSO.cs.meta
Normal file
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cd1640ffe24e9eb469a834432b0eaf46
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in a new issue