Add backbone for card creation and implement Camera minigame mechanics

This commit is contained in:
Michal Pikulski
2025-10-10 14:31:51 +02:00
parent d9039ce655
commit 0c5546efd2
107 changed files with 10490 additions and 280 deletions

View File

@@ -0,0 +1,31 @@
using AppleHills.Core.Interfaces;
using UnityEngine;
namespace Minigames.DivingForPictures.Utilities
{
public class BottlePauser : MonoBehaviour, IPausable
{
[SerializeField] private WobbleBehavior wobbleReference;
private bool isPaused = false;
private void Awake()
{
DivingGameManager.Instance.RegisterPausableComponent(this);
}
public void Pause()
{
wobbleReference.enabled = false;
isPaused = true;
}
public void DoResume()
{
wobbleReference.enabled = true;
isPaused = false;
}
public bool IsPaused => isPaused;
}
}