官术网_书友最值得收藏!

Conventions used

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 you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Our Tank object is basically a simple Mesh with a Rigidbody component."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 沙雅县| 长沙市| 沈阳市| 江陵县| 莎车县| 洛阳市| 长海县| 荔波县| 光泽县| 宜兰县| 东兴市| 文成县| 鄂伦春自治旗| 文安县| 蕲春县| 吉木乃县| 云浮市| 皋兰县| 大洼县| 涞源县| 炎陵县| 博罗县| 千阳县| 固阳县| 嵊泗县| 邹城市| 普格县| 玉田县| 平阴县| 莱阳市| 应城市| 陆良县| 嘉祥县| 农安县| 通江县| 梅州市| 珲春市| 吴江市| 环江| 基隆市| 英德市|