Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
79 views
in Technique[技术] by (71.8m points)

c# - Issue with Ratio and Maximize in Unity

I think the cause is with the Ratio, but I am not certain, this appeared on my project and I can't find a solution, So this is my last draw on this issue before trying to blend it in my game and try to adjust it from there.

Whenever Maximize On Play is On, The ratio or camera tends to zoom or pan on the left side, I ignored this thinking it was an issue with my side but by building the pre-alpha on my game it became an annoying issue

Without Maximize

With Maximize

question from:https://stackoverflow.com/questions/65622932/issue-with-ratio-and-maximize-in-unity

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I don't see your code or the camera properties, But I'm pretty sure you could fix this using Cinemachine.

Check this tutorial by unity


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...