Enemy의 사망 애니메이션 로직
네트워크 상에서의 동작 확인 완료
This commit is contained in:
@@ -153,7 +153,10 @@ using UnityEngine;
|
||||
visibility.updateInterval = 0.2f;
|
||||
}
|
||||
|
||||
enemy.GetComponent<NetworkObject>().SpawnWithOwnership(NetworkManager.Singleton.LocalClientId);
|
||||
var netObj = enemy.GetComponent<NetworkObject>();
|
||||
netObj.Spawn(true);
|
||||
|
||||
Debug.Log($"<color=cyan>[EnemyPortal] {enemy.name} 스폰됨 - OwnerClientId: {netObj.OwnerClientId}, IsServer: {IsServer}</color>");
|
||||
}
|
||||
|
||||
private void IncreaseCost()
|
||||
|
||||
Reference in New Issue
Block a user