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

Opening LearningScript in MonoDevelop

Unity will synchronize with MonoDevelop the first time you tell it to open a file for editing. The simplest way to do this is by double-clicking on LearningScript in the Scripts folder (provided in the example project). If your project is empty, don't worry, you can create a new C# script that will contain the exact same information. To do it, you just need to right-click inside the Assets tab and select Create | C#Script. It might take a few seconds for MonoDevelop to open and sync.

Our window should look like this:

MonoDevelop launched with LearningScript open and ready to edit.

What we see now is a default C# script structure that Unity creates. It contains information on what namespaces are used in the script, the class definition, and two methods that Unity adds by default, as shown here:

主站蜘蛛池模板: 鄢陵县| 章丘市| 田林县| 邻水| 宜宾市| 新野县| 泰宁县| 麻阳| 隆安县| 沈阳市| 呼图壁县| 长阳| 沙洋县| 城口县| 安国市| 昭通市| 乌审旗| 大荔县| 铜鼓县| 永宁县| 二连浩特市| 东阳市| 嘉荫县| 黄石市| 南部县| 宜兰县| 东山县| 东莞市| 喀什市| 清水县| 皮山县| 稻城县| 玉溪市| 定结县| 陇南市| 龙江县| 靖江市| 镇安县| 柳林县| 新营市| 万盛区|