- Learning C# 7 By Developing Games with Unity 2017(Third Edition)
- Micael DaGra?a Greg Lukosek
- 261字
- 2021-07-02 19:59:33
Using Unity's documentation
When we begin writing scripts, we will be looking at Unity's documentation quite often, so it's beneficial to know how to access the information we need. For an overview of a topic, we'll use the Reference Manual, and for specific coding details and examples, we'll use the Scripting Reference.
There are a number of ways to access the Unity documentation:
- Through the Unity website at http://docs.unity3d.com/ScriptReference/index.html.
- Through the Help menu on the top bar. In this way, you can access a local copy of Unity reference as we can see in the following image. This is worth remembering if there are internet connectivity issues:

- Let's open Scripting Reference now and search for a GameObject:

- Through the Help menu next to the component name. This will work only for Unity's built-in, standard components.
This is the place where we can find scripting documentation, answers to our questions, and a lot of example code. You might feel a bit lost right now, but don't worry, this is quite normal. The Unity documentation is really easy to use. For the fastest access to relevant information, use Search scripting... in the top–right corner, as shown here:

The whole reason Scripting Reference exists is so that we can look for information as we need it. This will actually make us remember the code that we write over and over, just like our other daily routines and habits. It is a very good idea to take a brief look through the most common Unity objects, such as GameObject, Transform, MonoBehaviour, and Renderer.
- Mastering OpenCV Android Application Programming
- Oracle從新手到高手
- C/C++常用算法手冊(cè)(第3版)
- 小程序,巧運(yùn)營(yíng):微信小程序運(yùn)營(yíng)招式大全
- 深度學(xué)習(xí):算法入門與Keras編程實(shí)踐
- C語(yǔ)言程序設(shè)計(jì)同步訓(xùn)練與上機(jī)指導(dǎo)(第三版)
- SQL經(jīng)典實(shí)例(第2版)
- 微服務(wù)架構(gòu)深度解析:原理、實(shí)踐與進(jìn)階
- 深度學(xué)習(xí):Java語(yǔ)言實(shí)現(xiàn)
- C++從入門到精通(第5版)
- Couchbase Essentials
- Practical Maya Programming with Python
- HTML5與CSS3權(quán)威指南
- PHP Microservices
- 透視C#核心技術(shù):系統(tǒng)架構(gòu)及移動(dòng)端開發(fā)