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

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.

主站蜘蛛池模板: 乐至县| 乌拉特前旗| 常山县| 天峨县| 浪卡子县| 克山县| 杭锦旗| 巴塘县| 图们市| 莲花县| 宣汉县| 贵德县| 宁阳县| 铁岭县| 沁水县| 宣武区| 乾安县| 锡林郭勒盟| 东城区| 乃东县| 清水河县| 南和县| 舟山市| 东阿县| 深水埗区| 米林县| 灵丘县| 宜阳县| 辉县市| 交口县| 酉阳| 许昌市| 永福县| 田阳县| 连城县| 黑水县| 安西县| 依安县| 辽源市| 崇明县| 神池县|