Added feedback on photography in diving game
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Minigames.DivingForPictures
|
||||
[SerializeField] private GameObject flashRef;
|
||||
|
||||
|
||||
private CameraViewfinderManager viewfinderManager;
|
||||
public CameraViewfinderManager viewfinderManager;
|
||||
|
||||
// Settings reference
|
||||
private IDivingMinigameSettings settings;
|
||||
@@ -107,7 +107,7 @@ namespace Minigames.DivingForPictures
|
||||
private static bool _isQuitting = false;
|
||||
|
||||
public AudioSource deathAudioPlayer;
|
||||
|
||||
public CameraViewfinderManager cameraViewfinderManager;
|
||||
|
||||
public static DivingGameManager Instance => _instance;
|
||||
|
||||
@@ -886,6 +886,7 @@ namespace Minigames.DivingForPictures
|
||||
{
|
||||
|
||||
flash.TriggerFlash();
|
||||
cameraViewfinderManager.PlayShutterSound();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user