多轮审查和修复

This commit is contained in:
2026-05-12 15:34:08 +08:00
parent f55d2a57c3
commit ebbbb7332e
805 changed files with 838724 additions and 1905 deletions

View File

@@ -1,4 +1,5 @@
using UnityEngine;
using BaseGames.Core;
namespace BaseGames.Camera
{
@@ -26,7 +27,7 @@ namespace BaseGames.Camera
if (!Application.isPlaying) return;
if (!other.CompareTag(_playerTag)) return;
if (_targetCamera != null)
CameraStateController.Instance?.SwitchRoom(_targetCamera);
ServiceLocator.GetOrDefault<ICameraService>()?.SwitchRoom(_targetCamera);
}
private void OnDrawGizmos()