关于屏幕适配不居中问题
1.在 编辑器中 测试 : 启用 整体缩放设置 -> 适应屏幕<适应宽度,上下居中>
如图1 所示 图片内容 上下居中 留有空余
单当我在Unity 中测试时
设置
GRoot.inst.SetContentScaleFactor(1080, 1920, UIContentScaler.ScreenMatchMode.MatchWidth);
内容依然置顶 ,请问怎么设置
<适应宽度,上下居中>
如图1 所示 图片内容 上下居中 留有空余
单当我在Unity 中测试时
设置
GRoot.inst.SetContentScaleFactor(1080, 1920, UIContentScaler.ScreenMatchMode.MatchWidth);
内容依然置顶 ,请问怎么设置
<适应宽度,上下居中>
没有找到相关结果
已邀请:
1 个回复
谷主
赞同来自: