예제 #1
0
 // called so that the server is initialized as early as possible.
 // this wasn't initialized in time during testing due to initialization order.
 private void Awake()
 {
     // creates server if it's not set.
     if (server == null)
     {
         server = new NetworkLibrary.UdpServerX();
     }
 }