Unity-packaging and publishing

How do we package the game after the development is completed, and you can play it by clicking on it? Next, let’s take a look at how to package the game.

Select a game that has been developed by unity, click Build settings in File, and open the following page, which is a release settings window.

 Assuming that our game has set up many scenes, we can select a few of them to publish, add them in the Scenes In Build above, and click Add Open Scenes below to publish the scenes to be released. If you do not publish a certain scene, you will not be able to find the scene when the game is running.

You can directly click Add Open Scenes or, as shown in the figure below, drag the scene in Scenes from the Project window on the right to Scenes In Build on the left.

In the following figure, Platform can choose the publishing platform. Here we default to PC.

 

 Click Build, and it will pop up to select the location to create. We choose the desktop and click Save.

Wait for a while and it will generate an executable file and a data file on the desktop. The data file contains some game-related data. These two files are indispensable, and these two files must be stored in a folder. . If you want to pack it and send it to others, you have to pack two together and send it to others before you can play.

Double-click the exe file to open the game to play.

Guess you like

Origin blog.csdn.net/qq_64573579/article/details/127721906