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