当前位置:网站首页>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;
}
边栏推荐
- Unity + hololens2 performance test
- Output directory of log files after unity3d packaging
- Unity is associated with vs. there is a compiler problem when opening
- The difference between SVG and canvas
- z-index属性在什么情况下会失效?
- Unity + hololens common basic functions
- Harbor API 2.0 query
- Some problems encountered in unity steamvr
- JS 数组的排序 sort方法详解
- Sourcetree usage
猜你喜欢

力扣209. 长度最小的子数组

Moore Manor diary I: realize the reclamation, sowing, watering and harvest in Moore Manor

On mask culling of unity

QT connecting external libraries

PWN Introduction (2) stack overflow Foundation

Basic operations of Oracle data

redis集群概念

Some problems encountered in unity steamvr

PWN入门(2)栈溢出基础

Harbor API 2.0 query
随机推荐
MinGW-w64下载文件失败the file has been downloaded incorrectly!
力扣59. 螺旋矩阵 II
svg和canvas的区别
Unity a* road finding force planning
Draw on screen border in Commodore 64
Sourcetree usage
Brew install NVM command not found solution
Force buckle 209 Minimum length subarray
Introduction to some representations, neighbors and degrees of Graphs
How can the international trading platform for frying US crude oil guarantee capital security?
UE4 method of embedding web pages
MySQL query gadget (I) replace a property value of the object in the JSON array in the JSON format string field
Harbor API 2.0 query
PWN入门(2)栈溢出基础
力扣27. 移除元素
Solution to the 292 week match of Li Kou
0 basic unity course. Bricklaying
Chapter 11 advanced data management of OpenGL super classic (version 7)
Unity3d Google Earth
力扣704. 二分查找