当前位置:网站首页>Unity publishing /build settings
Unity publishing /build settings
2022-06-30 05:08:00 【zjh_ three hundred and sixty-eight】
【PC End Build】
1、 Set up windows window , Maximizes and minimizes , Fixed resolution, etc

- Default Is Native Resolution( Default native resolution ), Uncheck , Enter the default resolution you set .
- Run In BackGround ( Background operation ).
- Display Resolution Dialog( Display the resolution dialog box ) , The three options are : Ban 、 Enable 、 Hide by default .
- Resizable Window ( Resizable window ).
- Visible InBackground( Background visible ).
- Allow Fullscreen Switch( Allow full screen switch ).
- Supported Aspect Ratios( Supported aspect ratio ).
In any script Start() Add... To the function :Screen.fullScreen = false;
2、 Replace the startup screen .

3、 Default full screen
1、 stay Player Setting In the property panel , open Resolution and Presentation set an option , take Display Resolution Dialog Set to Disabled.
2、 When starting, add the following code to the script called .
private void Awake()
{
// Gets or sets the current screen resolution
Resolution[] resolutions = Screen.resolutions;
// Set the current resolution
Screen.SetResolution(resolutions[resolutions.Length - 1].width, resolutions[resolutions.Length - 1].height, true);
// Set to full screen
Screen.fullScreen = true;
}
边栏推荐
- Nestjs入门和环境搭建
- UnityEngine. JsonUtility. The pit of fromjason()
- Unit asynchronous jump progress
- Chapter 9 of OpenGL super classic (version 7): fragment processing and frame buffering
- 力扣27. 移除元素
- Chapter 7 vertex processing and drawing commands of OpenGL super classic (7th Edition)
- Modbus protocol register
- Steamvr causes abnormal scene camera
- Chinese pycharm changed to English pycharm
- 力扣977. 有序数组的平方
猜你喜欢

Ripple effect of mouse click (unity & shader)

Using the command line to convert JSON to dart file in fluent

What is multimodal interaction?

Force buckle 209 Minimum length subarray

Unity realizes rotation and Revolution

Autowired注解警告的解决办法

Procedural animation -- inverse kinematics of tentacles

On mask culling of unity

SCM learning notes: interrupt learning

LxC and LXD container summary
随机推荐
Unity is associated with vs. there is a compiler problem when opening
Introduction to some representations, neighbors and degrees of Graphs
Chapter 9 of OpenGL super classic (version 7): fragment processing and frame buffering
Procedural animation -- inverse kinematics of tentacles
Unity download and installation website
Force buckle 349 Intersection of two arrays
一条命令运行rancher
Unity automatic pathfinding
Unity + hololens common basic functions
Modbus protocol register
GoLand No Tests Were Run : 不能使用 fmt.Printf() <BUG>
Unity camera control
Solution to 293 problems in the week of Li Kou
Unity Logitech steering wheel access
Yolov5 torch installation
力扣59. 螺旋矩阵 II
C # three ways to obtain web page content
Go Land no tests were Run: FMT cannot be used. Printf () & lt; BUG & gt;
力扣2049:统计最高分的节点数目
Unity script life cycle and execution sequence