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

  • Unity UI Cookbook
  • Francesco Sapio
  • 189字
  • 2021-07-23 14:56:10

Conventions

In this book, you will find a number of text styles 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 Twitter handles are shown as follows: "Since we don't need to set the initial variables, we can erase the Start() function."

A block of code is set as follows:

public void Update()
 if (Input.GetKeyDown (key))
 {
 EventSystem.current.SetSelectedGameObject(
this.gameObject);
 }}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityEngine;
using System.Collections;

Any command-line input or output is written as follows:

C:\Program Files\Unity\Editor\Unity.exe

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Clicking the Next button moves you to the next screen."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 法库县| 民勤县| 凉山| 文成县| 定结县| 南昌县| 祥云县| 明光市| 咸宁市| 阜康市| 通辽市| 淮南市| 宽甸| 平利县| 榆树市| 绍兴市| 巴林右旗| 鹤岗市| 宁化县| 临朐县| 登封市| 双辽市| 望奎县| 铁力市| 轮台县| 桑植县| 望奎县| 济宁市| 视频| 巧家县| 麻栗坡县| 遂平县| 博乐市| 海门市| 商都县| 嘉兴市| 漳浦县| 阿拉善右旗| 松滋市| 如皋市| 鲜城|