リザルト時のBGM音量調整追加
This commit is contained in:
parent
90e019e7c3
commit
cd6edee18c
|
|
@ -35,6 +35,8 @@ public class CookingResult : MonoBehaviour
|
|||
private void Start()
|
||||
{
|
||||
result.AddTo(this);
|
||||
SoundManager.Instance.ChangeVolumeUniqueBGM(.3f);
|
||||
this.CallWaitForSeconds(1f, () => SoundManager.Instance.ChangeVolumeUniqueBGM(6f));
|
||||
|
||||
var viewType = LocalCacheManager.Load(Const.ProductViewTypeTag, ProductViewType.Default);
|
||||
var productData = LocalCacheManager.Load<ProductData>(PopcornGameManager.CookingDataTag);
|
||||
|
|
@ -50,6 +52,7 @@ public class CookingResult : MonoBehaviour
|
|||
{
|
||||
TutorialManager.Instance.ShowTutorialConversation(9, () =>
|
||||
{
|
||||
SoundManager.Instance.ChangeVolumeUniqueBGM(1f);
|
||||
TransitionManager.Instance.UnloadScene(GameScenes.CookingResults);
|
||||
LocalCacheManager.Load<Action>(PopcornGameManager.RestartCallbackTag, null)?.Invoke();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue