[TASK] Added more duck spawn, performance fixes, instruction in the minigame, option to zoom in on stickers
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
using Random = UnityEngine.Random;
|
||||
|
||||
public class CatchMinigameManager : MonoBehaviour
|
||||
@@ -40,6 +41,7 @@ public class CatchMinigameManager : MonoBehaviour
|
||||
|
||||
public TMP_Text scoreText;
|
||||
public TMP_Text netAttemptText;
|
||||
[FormerlySerializedAs("MInigameInstruction")] public MinigameInstruction minigameInstruction;
|
||||
|
||||
public float netCooldown = 0.5f;
|
||||
public float netVelocity = 10f;
|
||||
@@ -93,6 +95,8 @@ public class CatchMinigameManager : MonoBehaviour
|
||||
activeDucks[i].gameObject.SetActive(false);
|
||||
}
|
||||
activeDucks.Clear();
|
||||
|
||||
minigameInstruction.Show();
|
||||
}
|
||||
|
||||
void Update()
|
||||
|
||||
Reference in New Issue
Block a user