Enable and Disable Cesium User Input in Unity

Veröffentlicht am: 29 Februar 2024
auf dem Kanal: DA LAB
830
5

In the previous tutorial, we implemented 3D photorealistic tiles in Unity using Cesium and Google Maps APIs. We also implemented an address search user interface.
However, I don’t like that the 3D scene keeps orbiting every time I move the mouse, even when I do not intend to rotate the scene.

To resolve this issue, I can enable the user input that controls the Cesium camera only when a certain key is pressed, the Shift key, for example. In other cases, when the user is not holding the shift key, the camera will not move around when I move the mouse.


Auf dieser Seite können Sie das Online-Video Enable and Disable Cesium User Input in Unity mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DA LAB 29 Februar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 830 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!