feat: Enhance scene transition management and HUD scaffolding

- Added RequestTransition method to ISceneService for direct scene transition requests without needing Inspector SO references.
- Updated DoorTransition and RoomTransition to utilize the new RequestTransition method via ServiceLocator.
- Introduced SceneFadeController to manage scene fade effects during transitions, with event channel integration for fade requests.
- Created HUDScaffoldWizard to automate HUD Canvas setup, including various UI elements and event channel bindings.
- Updated assembly definitions to include necessary dependencies for new UI components.
- Added Streaming assets for budget configuration to optimize scene loading and memory management.
This commit is contained in:
2026-06-03 08:08:27 +08:00
parent d27ae9407d
commit 613f2a4d13
15 changed files with 1285 additions and 64 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 712983ef837dc2745b7c72eb346da52f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 65e349713a81a3846a654ea9f428ef99, type: 3}
m_Name: STR_BudgetConfig_Default
m_EditorClassIdentifier:
MaxDormantRooms: 6
MaxMemoryMB: 300
MaxConcurrentLoads: 2
PreloadLookaheadHops: 2
CoolingDuration: 6
LifecycleActivatePerFrame: 8
AtmosphericFadeOutDuration: 0.25
AtmosphericFadeInDuration: 0.3
RegionNameDisplayDuration: 1.2
SeamlessWaitTimeout: 10

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cd50a6ced54f54a43bda5a4d39b7865e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: