feat: add BootStatusUIView for loading progress display with text feedback

- Create new BootStatusUIView MonoBehaviour component with StatusText and ProgressSlider fields
- Implement SetStatus() and SetProgress() methods for updating UI elements
- Replace Transform-based ProgressFill in LoadingUIView with Slider component for better UX
- Integrate BootStatusUIView into LoadState with real-time status updates during loading steps
- Display formatted progress text (e.g., 'Loading 50%') alongside slider updates
- Add SceneTemplateSettings.json to ProjectSettings for scene template configuration
This commit is contained in:
2026-05-27 04:51:27 +07:00
parent d6f0f5a3eb
commit 134e38c57c
9 changed files with 1259 additions and 29 deletions
+6 -1
View File
@@ -11,16 +11,21 @@ namespace QuizPleaseTest.Boot.States
public class SplashState : IState
{
private readonly SplashUIView _view;
private readonly BootStatusUIView _statusView;
private readonly BootSettings _settings;
public SplashState(SplashUIView view, BootSettings settings)
public SplashState(SplashUIView view, BootStatusUIView statusView, BootSettings settings)
{
_view = view;
_statusView = statusView;
_settings = settings;
}
public async UniTask EnterAsync(CancellationToken ct)
{
_statusView.SetStatus("Splash");
_statusView.SetProgress(0f);
_view.Bind(new SplashUIViewModel());
_view.Initialize();