Worker 네트워크 동기화

This commit is contained in:
2026-02-02 12:59:56 +09:00
parent b5f8943bcc
commit a0cb8499b0
5 changed files with 159 additions and 31 deletions

View File

@@ -504,7 +504,8 @@ namespace Northbound
var networkObj = kvp.Value;
if (networkObj != null && networkObj.OwnerClientId == _ownerPlayerId.Value)
{
if (networkObj.gameObject != null)
var playerInteraction = networkObj.GetComponent<PlayerInteraction>();
if (playerInteraction != null && networkObj.gameObject != null)
{
_playerTransform = networkObj.transform;
return true;