- Unity Virtual Reality Projects
- Jonathan Linowes
- 180字
- 2021-06-25 21:58:19
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.
- PaaS程序設(shè)計(jì)
- JIRA 7 Administration Cookbook(Second Edition)
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- Python Geospatial Development(Second Edition)
- Yocto for Raspberry Pi
- Hands-On Swift 5 Microservices Development
- SharePoint Development with the SharePoint Framework
- Java網(wǎng)絡(luò)編程核心技術(shù)詳解(視頻微課版)
- Python 3 數(shù)據(jù)分析與機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- Mastering Elixir
- C++程序設(shè)計(jì)教程
- ASP.NET求職寶典
- Clojure High Performance Programming(Second Edition)
- Get Your Hands Dirty on Clean Architecture
- C# 7.0本質(zhì)論