Unity 6.5 업그레이드와 신규 프로토타입 기반 구축

This commit is contained in:
2026-08-31 20:31:37 +09:00
parent 7fc457a384
commit 2f6e80fd57
233 changed files with 15070 additions and 6481 deletions
+5 -5
View File
@@ -16,7 +16,7 @@ public class NetworkDebug : MonoBehaviour
}
// 2. 스폰 포인트 검색
PlayerSpawnPoint[] spawnPoints = FindObjectsByType<PlayerSpawnPoint>(FindObjectsSortMode.None);
PlayerSpawnPoint[] spawnPoints = FindObjectsByType<PlayerSpawnPoint>();
Debug.Log($"PlayerSpawnPoints: Found {spawnPoints.Length} objects");
foreach (var sp in spawnPoints)
{
@@ -24,14 +24,14 @@ public class NetworkDebug : MonoBehaviour
}
// 3. NetworkConnectionHandler 확인
var connectionHandler = FindFirstObjectByType<NetworkConnectionHandler>();
var connectionHandler = FindAnyObjectByType<NetworkConnectionHandler>();
if (connectionHandler != null)
{
Debug.Log($"NetworkConnectionHandler: spawnPoints.Count={connectionHandler.spawnPoints.Count}, findAuto={connectionHandler.findSpawnPointsAutomatically}");
}
// 4. NetworkSpawnManager 확인
var spawnManager = FindFirstObjectByType<Northbound.NetworkSpawnManager>();
var spawnManager = FindAnyObjectByType<Northbound.NetworkSpawnManager>();
if (spawnManager != null)
{
Debug.Log($"NetworkSpawnManager: spawnPoints.Count={spawnManager.spawnPoints.Count}, findAuto={spawnManager.findSpawnPointsAutomatically}");
@@ -48,7 +48,7 @@ public class NetworkDebug : MonoBehaviour
{
yield return new WaitForSeconds(0.1f);
var players = GameObject.FindObjectsByType<NetworkPlayerController>(FindObjectsSortMode.None);
var players = GameObject.FindObjectsByType<NetworkPlayerController>();
if (players != null && players.Length > 0)
{
Debug.Log($"Found {players.Length} player(s) - checking equipment...");
@@ -77,7 +77,7 @@ public class NetworkDebug : MonoBehaviour
}
// 5초 후에도 플레이어가 없는지 확인
var finalCheck = GameObject.FindObjectsByType<NetworkPlayerController>(FindObjectsSortMode.None);
var finalCheck = GameObject.FindObjectsByType<NetworkPlayerController>();
if (finalCheck == null || finalCheck.Length == 0)
{
Debug.LogWarning($"Player did not spawn within 5 seconds!");