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

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

void Update () {
Transform camera = Camera.main.transform;
Ray ray;
RaycastHit hit;
GameObject hitObject;

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

 using UnityEngine;
using UnityEngine.Networking;
public class AvatarMultiplayer : NetworkBehaviour
{
public override void OnStartLocalPlayer()
{
GameObject camera = Camera.main.gameObject;
transform.parent = camera.transform;
transform.localPosition = Vector3.zero;
GetComponent<OvrAvatar>().enabled = false;
}
}

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 分宜县| 绥宁县| 朔州市| 富裕县| 昌吉市| 上饶县| 噶尔县| 浙江省| 拉孜县| 邮箱| 新昌县| 平阴县| 安远县| 沈阳市| 五原县| 西峡县| 松潘县| 堆龙德庆县| 房产| 板桥市| 西城区| 永善县| 马边| 红河县| 张掖市| 永顺县| 嘉鱼县| 凤台县| 苍南县| 黔南| 缙云县| 水城县| 孟州市| 满城县| 义马市| 若尔盖县| 葫芦岛市| 上思县| 铜山县| 台山市| 迭部县|