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

Creating a C# script file

We are now ready to create a new C# file in our learning project:

  1. Create a new Unity project and name it Learning Project.
  2. Right-click on the Project tab and create a folder named Scripts.
  3. Right-click on the Scripts folder, as shown in the following screenshot, and create a C# script:
  4. Immediately rename NewBehaviourScript to LearningScript.

We have created the Scripts folder, which we will be using to organize our C# files. This folder will contain all of our Unity script files. We have also used Unity to create a C# script file named LearningScript.cs.

主站蜘蛛池模板: 牡丹江市| 平定县| 宜君县| 治多县| 白朗县| 凤台县| 道孚县| 如东县| 吉隆县| 吉林省| 利川市| 嵩明县| 峨边| 新干县| 红原县| 广河县| 缙云县| 紫金县| 镇宁| 凤城市| 德兴市| 万安县| 周宁县| 仁化县| 九龙坡区| 桓仁| 东海县| 措勤县| 深圳市| 内乡县| 兴化市| 茌平县| 广饶县| 建德市| 张掖市| 毕节市| 神农架林区| 九龙县| 呼玛县| 台州市| 保定市|