예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     if (isServer)
     {
         UdpNetworking.initialize(serverPort);
     }
     else
     {
         UdpNetworking.initialize(clientPort);
     }
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     UdpNetworking.initialize(listenPort);
 }