当前位置:网站首页>Unity first lesson

Unity first lesson

2022-08-09 07:02:00 Small wind ah shout shout shout

Yeah yeah final exams are over!!!

A brief introduction to unity

  1. What is it?A development engine for creating games and three interactive content (developed by unity technologies)
  2. What can I do?2D, 3D game development, AR/VR development
  3. The history of unity?Three young people who love games in Copenhagen, Denmark decided to develop a convenient game development engine to help young people who love games realize their dream of creating games!!!The well-known Monument Valley and Temple Run are developed with unity3D
  4. What platforms does unity support?Both Android and Apple PC (seems to be 26 platforms) are popular in the market due to their cross-platform nature and ease of use
  5. About the unity version?The author uses 2017.3.1f1 and 2018.4.30f1. These two versions should be relatively stable (at least there is no problem yet). It is recommended to download a unity hub first, so that using multiple versions of unity at the same time will not have any problems.Question
  6. About scripting languages?Generally use C#
  7. About the installation: I remember that I need to select some components during installation, which can be based on my own development content and development platform.For example Android Build Support.Remember not to put it on the C drive!!!
  8. About the hardware question: If it is a notebook, it is better to use an i7 or R7 to be more mobile.Of course, if you are a beginner, i5 should also work
    insert image description here

unity learning resources recommended

Then Jianshu and Zhihu Baidu have many tutorials on installation and configuration environment that are very suitable for beginners, so I won't post them here

Some basic introduction to the unity interface

  • Layout: set the basic layout of unityinsert image description here

  • Edit skin shades: edit-preferences-editor skin

  • Find the unity manual in help A useful manual!

  • scene state used to edit the game game trial run assets store (buy some model UI controls, etc.) insert image description here
    Note that the game view can be adjusted as shown below
    insert image description here
    insert image description here
    How to view some runtime data?
    insert image description here

  • hierarchy view: used to display all game objects in the current scene
    Insert image description here
    Resources folder and console
    Insert image description here
    Some resources can be imported into these folders
    The console can be used to display debugging information and running error information in the program

  • Ispector is used to display the properties of the currently selected game object
    transform refers to the coordinate positionInsert image description here

Things to know before doing a project

  • In fact, each game is composed of many scenes, and you can use buttons to jump between scenes
  • I personally think that the setting of parallel light is very important, that is, the effect of adjusting the light on the atmosphere of the scene (of course, it can also be adjusted in the modeling software)
  • Websites to find resources and where to find open source projects: Aigei.com or the official resource store introduced at the beginning, open source projectsYou can go to github (this chicken has not learned yet)
  • The other is Baidu!!!What can't be found on Baidu, or the wrong information can also be searched in Baidu (of course, it is better if you can use google)

—————————END————————

原网站

版权声明
本文为[Small wind ah shout shout shout]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/221/202208090657178816.html