unity small game production tutorial

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_36732789/article/details/102776602

unity game
unity is the most popular game creation software, not only can be published in the Pc platform, but also released the phone side, so that greatly improved the Unity game difficulty level to improve the efficiency of developers, for game developers to said it was a good choice, this article will detail how to create and release a game.
The first step: Open the unity software, then create a new project, built after, it will automatically open a screen, but this is only the default interface of the camera and the sun. Next, we officially entered the game design.
The second step: Here Insert Picture Description
Step two: on the left, right interface ---- 3dobject ----- cube, the cube is selected, the x-axis and z-axis adjustment of the size, so that a plane called the cube rename ground,
and then we create another object: right ----- 3D object ------ cube; Here Insert Picture Description
the third step: to create a new material assets, right ----- create-- in assets in ----- material, and then rename it playset, on the right you can see the different properties of materials, adjust the color of the material, then drag the cube material, in time to see the update:
Here Insert Picture Description
step four: open play, found cube just floating in the air, and there is no physical attribute, then we add a rigid physical properties in the properties panel on the right, click the add complent ---- Physics ---- ri'gidbody.
Step Five: Next, we create a script, click add complent-new script, named playerscript, double-click the script, and then will open with Visual, will see the void start and void update these two functions.Here Insert Picture Description

Guess you like

Origin blog.csdn.net/qq_36732789/article/details/102776602