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

  • Unity Game Optimization
  • Dr. Davide Aversa Chris Dickinson
  • 148字
  • 2021-06-24 12:12:53

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: 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: "These can be accessed through the UnityEngine.Profiling.Profiler class through its BeginSample() and EndSample() methods."

A block of code is set as follows:

void DoSomethingCompletelyStupid() { 
Profiler.BeginSample("My Profiler Sample");
List<int> listOfInts = new List<int>();
for(int i = 0; i < 1000000; ++i) {
listOfInts.Add(i);
}
Profiler.EndSample();
}

 

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "When a Unity application is compiled in Development Mode."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 富裕县| 水城县| 信丰县| 武陟县| 宣城市| 江阴市| 于田县| 芦溪县| 长岭县| 沙坪坝区| 沂源县| 华池县| 温州市| 石泉县| 上高县| 巧家县| 乌鲁木齐县| 徐闻县| 莫力| 宝应县| 金阳县| 乐山市| 宝清县| 贵港市| 弥勒县| 错那县| 阿坝| 淮安市| 洛宁县| 新密市| 天柱县| 孟连| 格尔木市| 纳雍县| 师宗县| 古蔺县| 兴安县| 承德县| 新竹县| 大英县| 汉川市|