@3dsource/angular-unreal-module 0.0.84-dev.0 → 0.0.84-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2426,14 +2426,12 @@ class UnrealCommunicatorService {
2426
2426
  this.commandTelemetryService = inject(CommandTelemetryService);
2427
2427
  this.freezeFrameService = inject(FreezeFrameService);
2428
2428
  this.webRtcPlayerService = inject(WebRtcPlayerService);
2429
- this.inputService = inject(InputService);
2430
2429
  this.videoService = inject(VideoService);
2431
2430
  this.destroy$ = new Subject();
2432
2431
  this.cirrusConnected = this.store.selectSignal(unrealFeature.selectCirrusConnected);
2433
2432
  this.init();
2434
2433
  }
2435
2434
  init() {
2436
- this.inputService.useKeyboardKeys(this.inputService.defaultKeys);
2437
2435
  this.emitUIInteraction = this.commandTelemetryService.decorate(this.emitUIInteraction.bind(this));
2438
2436
  this.listenVideo();
2439
2437
  this.store
@@ -4872,9 +4870,11 @@ class UnrealSceneComponent {
4872
4870
  this.lightMode = this.store.selectSignal(unrealFeature.selectLowBandwidth);
4873
4871
  this.isFreezeFrameLoading = this.store.selectSignal(selectIsFreezeFrameLoading);
4874
4872
  this.commandsSender = inject(UnrealCommunicatorService);
4873
+ this.inputService = inject(InputService);
4875
4874
  this.videoService = inject(VideoService);
4876
4875
  this.element = inject(ElementRef);
4877
4876
  this.destroyRef = inject(DestroyRef);
4877
+ this.inputService.useKeyboardKeys(this.inputService.defaultKeys);
4878
4878
  this.destroyRef.onDestroy(() => this.store.dispatch(destroyUnrealScene()));
4879
4879
  effect(() => {
4880
4880
  const videoElement = this.videoElement();