Example #1
0
 void OnMapChange(MapService.MapChange_Client mapChange)
 {
     lastPos = transform.position = mapChange.pos;
     lastRot = transform.rotation = Quaternion.Euler(mapChange.rot);
 }
Example #2
0
 public void On(MapService.MapChange_Client mapChange)
 {
     daemon.RunOnMainThread(() => {
         OnPlayerMapChanged?.Invoke(mapChange);
     });
 }
Example #3
0
 public void On(MapService.MapChange_Client e)
 {
     Log.Info($"TestService Saw MapChange: {e.mapName} / {e.pos} / {e.rot}");
     sawMap = true;
 }