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

The namespace – highlighted in blue

The namespace is simply an organizational construct. It helps organize parts of code. Don't worry too much about it now. We won't need to create them anytime soon. All we will need to know for now is how many namespaces we are using in our script.

In our script, we can see these two lines:

using UnityEngine; 
using System.Collections; 

The preceding two lines simply mean that our script will be using the UnityEngine and System.Collections namespaces, and we will have access to all parts of these libraries. These two namespaces are added to any new C# script by default, and we will use them in most of our cases.

主站蜘蛛池模板: 霞浦县| 个旧市| 德钦县| 邢台市| 诸城市| 荥阳市| 泰宁县| 诸城市| 深州市| 子洲县| 涪陵区| 太仆寺旗| 泽普县| 台中市| 泸西县| 泰宁县| 华宁县| 栖霞市| 司法| 精河县| 富裕县| 永川市| 句容市| 织金县| 竹北市| 鄂伦春自治旗| 蓝山县| 永清县| 九台市| 江永县| 通江县| 仁怀市| 潮州市| 曲松县| 沧源| 平山县| 镇沅| 收藏| 汉沽区| 瑞丽市| 安龙县|