Пример #1
0
 /// <summary>
 /// When a client first connects to the server, we want it to sync at least the
 /// InGame scene, for this, we call BoltNetwork.LoadSceneSync()
 /// </summary>
 public override void Connected(BoltConnection connection)
 {
     if (BoltNetwork.IsClient)
     {
         BoltNetwork.LoadSceneSync();
     }
 }