I'm trying to use a fixed background. I added the image as a child of camera and sized it to fill view of camera. It seems good in unity player however when I run it on my android devices, background seems short. I see some blank space in left and right sides of the screen. Orthographic size is 6.
相关问题
- How to access the camera from my Windows Phone 8 a
- Unity - Get Random Color at Spawning
- I want to read exif info in image in android. I ca
- Android Exclude Some Camera Intent
- Unity3D WebGL Headless not rendering
相关文章
- Programmatically setting and saving the icon assoc
- Omnisharp in VS Code produces a lot of warnings ab
- Call non-static methods on custom Unity Android Pl
- How can a game created in Unity can run on an Andr
- Flutter Camera Preview not rotating with phone ori
- how to calculate field of view of the camera from
- How to add Persistent Listener to Button.onClick e
- Placing an object in front of the camera
This will position a plane or quad and scale it so it will fill the screen. It works both in orthographic and perspective. Orthegrphic size doesnt matter.
step 1 - Create a Plane object in your scene.
step 2 - Add this script to the object created.
step 3 - Script will auto resize and position at the near clip