- Unity 2017 Mobile Game Development
- John P. Doran
- 233字
- 2021-07-02 22:27:42
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Rename the sphere to Player and set the Transform component's Position to (0, 1, -4)."
A block of code is set as follows:
/// <summary>
/// Update is called once per frame
/// </summary>
void Update ()
{
// Check if target is a valid object
if (target != null)
{
// Set our position to an offset of our target
transform.position = target.position + offset;
// Change the rotation to face target
transform.LookAt(target);
}
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
[Tooltip("How fast the ball moves forwards automatically")]
[Range(0, 10)]
public float rollSpeed = 5;
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "To fix this, go to Window | Lighting | Settings."
Warnings or important notes appear like this.
Tips and tricks appear like this.
- Python快樂編程:人工智能深度學習基礎
- 人人都是網站分析師:從分析師的視角理解網站和解讀數據
- HTML5+CSS3+JavaScript Web開發案例教程(在線實訓版)
- Elasticsearch Server(Third Edition)
- Windows Phone 7.5:Building Location-aware Applications
- Nginx Lua開發實戰
- Raspberry Pi Home Automation with Arduino(Second Edition)
- 軟件測試實用教程
- ServiceNow:Building Powerful Workflows
- Processing創意編程指南
- Go語言編程
- Qt5 C++ GUI Programming Cookbook
- JavaScript程序設計:基礎·PHP·XML
- Greenplum構建實時數據倉庫實踐
- Scratch超人漫游記:創意程序設計:STEAM創新教育指南