官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 库尔勒市| 新化县| 平塘县| 盘山县| 陆丰市| 永州市| 左贡县| 岳普湖县| 衡水市| 潞城市| 巴马| 吉木萨尔县| 沈阳市| 怀来县| 元朗区| 潞西市| 攀枝花市| 水富县| 秭归县| 阜城县| 丽水市| 山西省| 浦江县| 堆龙德庆县| 镇巴县| 宁都县| 抚远县| 搜索| 大渡口区| 易门县| 靖江市| 思南县| 霸州市| 徐汇区| 太和县| 新蔡县| 马龙县| 丹凤县| 泰宁县| 聊城市| 达日县|