- Mastering Unity Scripting
- Alan Thorn
- 211字
- 2021-08-06 19:18:01
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: "Once created, a new script file will be generated inside the Project
folder with a .cs
file extension."
A block of code is set as follows:
01 using UnityEngine; 02 using System.Collections; 03 04 public class MyNewScript : MonoBehaviour 05 {
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
//We should hide this object if its Y position is above 100 units
bool ShouldHideObject = (transform.position.y > 100) ? true : false;
//Update object visibility
gameObject.SetActive(!ShouldHideObject);
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: "One way is to go to Assets | Create | C# Script from the application menu."
- Learning Microsoft Windows Server 2012 Dynamic Access Control
- 自制編譯器
- 垃圾回收的算法與實(shí)現(xiàn)
- Vue.js前端開(kāi)發(fā)基礎(chǔ)與項(xiàng)目實(shí)戰(zhàn)
- Python爬蟲(chóng)開(kāi)發(fā):從入門(mén)到實(shí)戰(zhàn)(微課版)
- Flink SQL與DataStream入門(mén)、進(jìn)階與實(shí)戰(zhàn)
- C語(yǔ)言程序設(shè)計(jì)教程(第2版)
- Python高級(jí)編程
- Learning Neo4j 3.x(Second Edition)
- Multithreading in C# 5.0 Cookbook
- MINECRAFT編程:使用Python語(yǔ)言玩轉(zhuǎn)我的世界
- Vue.js 3應(yīng)用開(kāi)發(fā)與核心源碼解析
- 網(wǎng)絡(luò)數(shù)據(jù)采集技術(shù):Java網(wǎng)絡(luò)爬蟲(chóng)實(shí)戰(zhàn)
- Scala Functional Programming Patterns
- Python預(yù)測(cè)分析實(shí)戰(zhàn)