예제 #1
0
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.AddNetFunctionListener("cubemove", thisNetworkID, DoMove);
     NetworkManager.NetworkUpdateEvent += NetworkUpdate;
 }
예제 #2
0
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.AddNetFunctionListener("recv_car_data", thisNetworkID, ReceiveCarData);
     NetworkManager.AddNetFunctionListener("update_car_visuals", thisNetworkID, CL_UpdateCarVisuals);
     NetworkManager.NetworkUpdateEvent += NetworkUpdate;
 }
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.AddNetFunctionListener("recv_client_inputs", thisNetworkID, RecvClientInputs);
     NetworkManager.AddNetFunctionListener("req_local_player", thisNetworkID, REQ_LocalPlayer);
     NetworkManager.ClientDisconnectEvent += OnClientDisconnected;
 }
예제 #4
0
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.ClientConnectEvent += SV_OnClientConnected;
     NetworkManager.AddNetFunctionListener("create_temp_obj", thisNetworkID, CL_CreateNetObject);
     NetworkManager.AddNetFunctionListener("destroy_temp_obj", thisNetworkID, CL_RemoveNetObject);
 }
예제 #5
0
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.AddNetFunctionListener("update_client_place_info", thisNetworkID, CL_UpdatePlaceInfo);
     NetworkManager.AddNetFunctionListener("update_race_info", thisNetworkID, CL_UpdateRaceInfo);
     NetworkManager.NetworkUpdateEvent += NetworkUpdate;
 }
예제 #6
0
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.NetworkUpdateEvent += NetworkUpdate;
     NetworkManager.AddNetFunctionListener("new_local_player", thisNetworkID, REC_NewLocalPlayer);
 }
 public override void OnNewNetworkSceneLoaded()
 {
     NetworkManager.AddNetFunctionListener("fx_spawn", thisNetworkID, CL_SpawnEffect);
 }