Practical Unity3D Development: From recognition interface to game demo (1)

Source: Internet
Author: User

As we all know, Unity3D is a game development tool that can easily create multiple platforms and is a fully integrated professional game engine. In the current version, its powerful game production functions have been achieved to the point where people are stunned. Especially the first-person war game it created in version 3.0, the image quality is no inferior to mainstream first-person shooting games such as crossing FireWire and battlefield king. For the Display Effect in the Demo:

Seeing such a brilliant effect, let me immediately enter the wonderful Unity3D world! Download Unity3D on the official website.
Unity3D Official Website: http://unity3d.com
Unity3D: http://unity3d.com/unity/download/
After the download, you must register an email on the official website to get a 30-day trial. If you are satisfied with this software after the trial, you can continue to use it after purchase. Of course, if you purchase the Pro version of Unity3D, more features will be available.
Chapter 1Basic Unity3D interface Introduction

The basic Unity3D interface is very simple, and almost all the editing functions can be implemented in several windows. The main interface 1.1 is shown in:


Scenario panel
: This panel is an Unity3D editing panel. You can drag and drop all your models, lights, and other materials to the current scene. Build the scenes that can be presented in the game.
Animation panel: Unlike the scene panel, this Panel is used to render scenes in the scene panel. This Panel cannot be used for editing, but can render the complete animation effect. The displayed content depends on the scene camera settings.
Hierarchical list bar: The main function of this Panel is to display all objects in the scene panel.
Project File bar: This panel displays a list of all resources in the project file. In addition to models, materials, fonts, etc., it also includes various scenario files of the project.
Object Property bar: This Panel bar displays the inherent attributes of any object, including 3D coordinates, rotation volume, scaling size, script variables and objects.
Scenario adjustment tool: You can change the scene angle, the world and local coordinates of the object during editing, the normal center of the object, the Coordinate Position of the object in the scene, and the scaling size.

Menu Bar: Next I will focus on the menu bar.

The menu bar contains eight menu options: file, Edit, Assets resource, GameObject game object, Component, Terrain, Window, and Help ].

Each menu option has its own sub-menu, which is summarized as follows:

1. File]

Name
Description
New Scene Create a new scenario. Just like one scenario in a game, Unity3D provides users with convenient scenario management, allowing users to create their desired scenarios as they wish. Then link each scenario to form a complete game.

Open Scene Open a created scenario
Save Scene Save current scenario
Save Scene Save the current scenario
New Project Create a new project. To create your own game, the first step is to create a project that belongs to the game. This project is the foundation of all elements. With the project, you can add your own scenarios in the project.
Open Project Open a created Project
Save Project Save current project
Build Setting Project compilation settings. In the compilation settings option, you can select the platform where the game is located and manage various scenarios in the project. You can add the current scenario to the compilation queue of the project. In the Player Settings option, you can set the program icon, resolution, and startup screen.
Build & Run Compile and run the project
Exit Exit Unity3D

2. Edit and Edit]

Name
Description
Undo Undo the previous operation
Redo Repeat the previous action
Cut Cut
Copy Copy
Paste Paste
Duplicate Copy and paste
Delete Delete
Frame Selected After selecting an object, you can use this function to adjust the angle of view to observe the selected object.
Find You can search by resource name in the resource area.
Select All All resources can be selected.
Preferences Option settings. Some Basic settings for Unity3D, such as external script editing, skin, and various color settings. And some users' basic shortcut key settings.
Play Compile and run the program in Unity3D
Pause Stop program
Step One-step execution Program
Load Selection Load selected
Save Selection Save selected
Project Settings

Project Settings. Including input settings, tag settings, setting of different types of tags for the elements in the scenario, facilitating Scenario Management), audio settings, running time settings, user settings, physical settings include force, elasticity, friction, etc.). quality settings are important. You can set the default rendering quality of the project in this option.), network management, Editor management, etc.

Render Settings Rendering settings. If you feel that the overall image color quality is not satisfactory, you can adjust it here.
Graphics Emulation Graphic Simulation. It mainly works with some Graphics accelerators for processing.
Network Emulation Network Simulation. You can select the desired network type for simulation.
Project Settings Project Settings. This includes input settings, tag settings, audio settings, runtime settings, user settings, physical settings, quality settings, network management, Editor management, and so on.
Snap Settings The temporary environment, or the snapshot settings.

3. Assets Resources]

Name
Description
Reimport Re-import Resources
Create Create a function. It can be used to create various scripts, animations, materials, fonts, textures, physical materials, GUI skins, etc.
Show In Explorer Open the directory location of the Resource
Open Open selected file
Delete Delete the selected resource file
Import New Asset Import New Resources
Refresh Refresh, used to import the resource package
Import Package Import the resource package. When creating a project, some resource packages are not imported and need to be used during the development process. You can use the resource package import function.
Export Package Resource Packages everywhere
Select Dependencies Select dependency
Reimport Re-import all
Sync MonoDevelop Project Synchronous development project

4. GameObject game objects]

Name
Description
Create Empty Create an empty game object. You can add various components to this empty object, that is, various attributes. In Component, we will talk about
Create Other Create other types of Game objects. This includes a lot of content, basically covering all the objects supported by Unity3D. There are particle system, camera, interface text, interface texture, 3D text effect, point light source, spotlight, parallel light, cube, ball, bag, cylinder, plane, surface, audio mixing area, tree, doll, wind domain, etc.
Center On Children This function is used on the parent node, that is, to move the location of the parent node to the center of the child node
Make Parent After multiple objects are selected, click this function to create a parent-child relationship for the selected objects. In the hierarchical view, the parent node is the top node, and other child nodes are the parent nodes.
Apply Change To Prefab Change Application to preset
Move To View This function is often used to move the selected object to the center of the current editing angle, so that you can quickly locate it.
Align With View Move the selected object to the center of the current editing angle of view. The depth is 0, that is, move to the same plane as the angle of view.
Align View To Selected Move the editing angle to the center of the selected object

5. Component Components]

Name

Description
Mesh Add grid attributes
Participant Particle System. Excellent fluid performance
Physics Physical System. Allows an object to have corresponding physical properties.
Audio Audio. Allows you to create sound sources and Sound listeners.
Rendering Rendering
Miscellaneous Miscellaneous
Scripts Script. Some powerful scripts built in Unity
Camera-Control Camera Control

6. Terrain]

Name
Description

Creat Terrain Create terrain
Import Heightmap-Raw Import height chart
Export Heightmap-Raw Height chart everywhere
Set Resolution Set resolution
Create Lightmap Create a shadow chart
Mass Place Trees Batch planting trees
Flatten Heightmap Scale height chart
Refresh Tree And Detail Prototypes Refresh tree and preset details

7. Window]

Name
Description
Next Window Next window
Previous Window Previous window
Layouts Layout
Scene Scenario window
Game Game window
Inspector The Inspection Window mainly refers to the attributes of each object, also known as the attribute panel.
Hierarchy Level window
Project Project window
Animation Animation window. Panel used to create time Animation

Profiler Probe window
Asset Server Source Server
Console Console


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.