Advertisement
Dieton

Netcode Notes

Jun 12th, 2023
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | Gaming | 0 0
  1. //NetworkPrefab customePlayers
  2.  
  3. //NetworkManager.Singleton.SpawnManager();
  4. SetupPlayerClientRpc();
  5. // networkManager.AddNetworkPrefab(customePlayers[0]);
  6.  
  7. //networkManager.OnClientDisconnectCallback += OnClientDisconnectCallback;
  8. // NetworkManager.Singleton.ConnectionApprovalCallback = ApprovalCheck;
  9. //or
  10. //networkManager.ConnectionApprovalCallback = ApprovalCheck;
Tags: Unity Netcode
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement