November 2018
Beginner
246 pages
5h 23m
English
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 are shown as follows: "The AdvanceFSM class basically manages all the FSMState(s) implemented, and keeps updated with the transitions and the current state."
A block of code is set as follows:
int throwDiceLoaded() {
Debug.Log("Throwing dice...");
int randomProbability = Random.Range(1,101);
int diceResult = 0;
if (randomProbability < 36) {
diceResult = 6;
}
else {
diceResult = Random.Range(1,5);
}
Debug.Log("Result: " + diceResult);
return diceResult;
}
New terms and important words are shown in bold. Words that ...
Read now
Unlock full access