I want to use the TouchCameraPro plugin to replace the camera in Cesium For Unity. How can I do that?

I want to use the other camera to replace the camera in Cesium For Unity, Such as TouchCameraPro How can I do that?

Touch Camera PRO 2025 - Easy Mobile/Desktop/Console Camera Controller | 镜头 | Unity Asset Store

Hi @lky5230, welcome back to the community!

We’ve never tried using the TouchCameraPro asset before. But in general, if a camera is marked as the Main Camera, then it should be detected by Cesium for Unity. You can also use the Cesium Camera Manager component to register additional camera views on a tileset.

Thank you for your answer. I have another question. If I set other camera as MainCamera, can the camera also maintain a reasonable direction like CesiumCameraController?

When the camera crosses the horizon, the camera will automatically change its upward direction, keeping the world always facing upwards.

Hi @lky5230,

You may be able to make another camera maintain an upright position on the globe by simply attaching a CesiumGlobeAnchor component to its GameObject. Whether this works or not depends a bit on how the other camera is implemented, but it’s definitely worth a try. Let us know how it goes.

yeah, just Add CesiumGlobeAnchor To New Camera, All is well!