Conventions used
There are a number of text conventions used throughout this book.
Code in text
: 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: “Currently, there is a bit of a problem with the AnimationComplete
trigger.”
A block of code is set as follows:
[System.Serializable]public class Translation { public string languageKey; public string translatedString; public Font font; public FontStyle fontStyle;}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Vector2[] newPositions = new Vector2[]{Input.GetTouch(0).position, Input.GetTouch(1).position};
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “When Permanent is selected for the Visibility property, the respective scrollbar will remain visible, even if it is not needed, if its corresponding movement is allowed.”
Tips or important notes
Appear like this.