Conventions
In this book, you will find a number of styles of text 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 hierarchy / project view paths are shown as follows: "Select our InGame2DUI
| HoldFeedback
| Sprite
GameObject."
A block of code is set as follows:
// Method that cancels the movement request public void CancelMovementRequest() { // Cancel the movement request validMoveRequest = false; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
// Set filled sprite's fill amount to zero
holdFeedback.fillAmount = 0;
// Show the hold feedback sprite
holdFeedback.enabled = true;
Any command-line input or output is written as follows:
adb logcat –s Unity
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "You can edit Unity input axes at any time by navigating to Edit | Project Settings | Input."