Unity 6.5 업그레이드와 신규 프로토타입 기반 구축
This commit is contained in:
@@ -195,7 +195,7 @@ namespace Northbound
|
||||
// 방법 3: 직접 검색 (IsLocalPlayer인 플레이어 찾기)
|
||||
if (localPlayer == null)
|
||||
{
|
||||
var allPlayers = FindObjectsByType<NetworkPlayerController>(FindObjectsSortMode.None);
|
||||
var allPlayers = FindObjectsByType<NetworkPlayerController>();
|
||||
foreach (var player in allPlayers)
|
||||
{
|
||||
if (player.IsLocalPlayer)
|
||||
@@ -412,4 +412,4 @@ namespace Northbound
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user