Add subtitle UI for voice playback
This commit is contained in:
@@ -10,6 +10,7 @@ using BriarQueen.Framework.Managers.Levels;
|
||||
using BriarQueen.Framework.Managers.Player;
|
||||
using BriarQueen.Framework.Managers.UI;
|
||||
using BriarQueen.Framework.Services.Settings;
|
||||
using BriarQueen.Framework.Services.Subtitles;
|
||||
using BriarQueen.Framework.Services.Tutorials;
|
||||
using BriarQueen.Game.Cinematics;
|
||||
using Cysharp.Threading.Tasks;
|
||||
@@ -30,6 +31,7 @@ namespace BriarQueen.Game.Misc
|
||||
private readonly SettingsService _settingsService;
|
||||
private readonly SplashScreens _splashScreens;
|
||||
private readonly SteamManager _steamManager;
|
||||
private readonly SubtitleService _subtitleService;
|
||||
private readonly TutorialService _tutorialService;
|
||||
private readonly UIManager _uiManager;
|
||||
|
||||
@@ -45,6 +47,7 @@ namespace BriarQueen.Game.Misc
|
||||
SettingsService settingsService,
|
||||
SteamManager steamManager,
|
||||
SplashScreens splashScreens,
|
||||
SubtitleService subtitleService,
|
||||
TutorialService tutorialService)
|
||||
{
|
||||
_audioManager = audioManager;
|
||||
@@ -58,6 +61,8 @@ namespace BriarQueen.Game.Misc
|
||||
_settingsService = settingsService;
|
||||
_steamManager = steamManager;
|
||||
_splashScreens = splashScreens;
|
||||
_subtitleService = subtitleService;
|
||||
_tutorialService = tutorialService;
|
||||
}
|
||||
|
||||
public async UniTask StartAsync(CancellationToken cancellationToken)
|
||||
@@ -67,6 +72,9 @@ namespace BriarQueen.Game.Misc
|
||||
Debug.Log("[Bootstrap] Audio...");
|
||||
_audioManager.Initialize();
|
||||
|
||||
Debug.Log("[Bootstrap] Subtitles...");
|
||||
_subtitleService.Initialize();
|
||||
|
||||
Debug.Log("[Bootstrap] Settings...");
|
||||
await _settingsService.InitializeAsync();
|
||||
|
||||
@@ -99,4 +107,4 @@ namespace BriarQueen.Game.Misc
|
||||
Debug.Log("[Bootstrap] Called SplashScreens.Play()");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user