- Mastering Android Game Development with Unity
- Siddharth Shekar Wajahat Karim
- 210字
- 2021-07-09 20:44:24
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: "The
bIsDefending variable is the same as that we defined as a parameter in Animation Controller."
A block of code is set as follows:
private Animator anim;
// Use this for initialization
void Start () {
anim = GetComponent<Animator>();
} // start
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
if (pAnim.GetBool("tIsPunching")){
if (anim.GetBool("bEnemyIsDefending") == false) {
Debug.Log("enemy got hit");
anim.SetTrigger("tEnemyGotHit");
anim.SetBool("bEnemyIsDefending", true);
health -= pScript.damage;
}
}
Any command-line input or output is written as follows:
C:\Program Files\Unity\Editor\Unity.exe
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: "Unity lets developers manage these components of each game object through the Inspector panel."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
- WOW!Illustrator CS6完全自學(xué)寶典
- TestStand工業(yè)自動化測試管理(典藏版)
- Getting Started with MariaDB
- CSS全程指南
- 自動檢測與轉(zhuǎn)換技術(shù)
- SharePoint 2010開發(fā)最佳實(shí)踐
- 計算機(jī)網(wǎng)絡(luò)技術(shù)基礎(chǔ)
- 21天學(xué)通Java
- 塊數(shù)據(jù)5.0:數(shù)據(jù)社會學(xué)的理論與方法
- Java Web整合開發(fā)全程指南
- Machine Learning with Apache Spark Quick Start Guide
- 分?jǐn)?shù)階系統(tǒng)分析與控制研究
- 嵌入式操作系統(tǒng)原理及應(yīng)用
- Visual FoxPro程序設(shè)計
- Mastering pfSense