i put a whole SIX minutes of effort into this commit!
This commit is contained in:
parent
9304861963
commit
813a8c2a5c
5 changed files with 24 additions and 8 deletions
8
.idea/.idea.ReisenTasker/.idea/indexLayout.xml
generated
8
.idea/.idea.ReisenTasker/.idea/indexLayout.xml
generated
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
6
Assets/Scripts/Microgame/BookSorting.cs
Normal file
6
Assets/Scripts/Microgame/BookSorting.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class BookSorting : MicroGameHandler
|
||||
{
|
||||
|
||||
}
|
||||
2
Assets/Scripts/Microgame/BookSorting.cs.meta
Normal file
2
Assets/Scripts/Microgame/BookSorting.cs.meta
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ec002d7fbf01e52d1b7e386da7f042fe
|
||||
|
|
@ -40,6 +40,11 @@ public class MarisaPotionMaker : MicroGameHandler
|
|||
public int currentPotionIndex;
|
||||
[SerializeField] private TextMeshProUGUI potionRecipeTitle;
|
||||
[SerializeField] private TextMeshProUGUI potionRecipeText;
|
||||
public override void StartGame()
|
||||
{
|
||||
base.StartGame();
|
||||
StartPotion(allPotions[Random.Range(0, allPotions.Length)]);
|
||||
}
|
||||
|
||||
public void StartPotion(MicrogamePotion potionRequested)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,6 +8,12 @@ public class MicroGameHandler : MonoBehaviour
|
|||
public int score;
|
||||
public int minimumScore;
|
||||
public bool loseOnTimeLimit;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
StartGame();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
currentTime -= Time.deltaTime;
|
||||
|
|
@ -34,4 +40,9 @@ public class MicroGameHandler : MonoBehaviour
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual void StartGame()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue