超大量的更新 修复很多问题,gameplay特效初步

This commit is contained in:
FloatGaming
2026-02-14 23:46:20 +08:00
parent ef8eb67259
commit 3a7a0b4669
360 changed files with 85670 additions and 4144 deletions
+8 -4
View File
@@ -80,11 +80,15 @@ public class BgmPlaybackManager : MonoBehaviour
private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
if (!stopOnGameplayScene)
return;
if (scene.name == gameplaySceneName)
if (stopOnGameplayScene && scene.name == gameplaySceneName)
{
StopLobbyAudioAndParticles();
return;
}
// Ensure lobby/select scenes resume BGM after returning from gameplay.
if (autoPlay)
EnsurePlaying();
}
public void EnsurePlaying()