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

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:

主站蜘蛛池模板: 阿拉善盟| 吴川市| 长白| 文登市| 友谊县| 平陆县| 华宁县| 敦化市| 兰坪| 仪陇县| 南丰县| 军事| 登封市| 明星| 通州市| 阜南县| 合阳县| 六安市| 上栗县| 萨嘎县| 镇江市| 弥勒县| 平乐县| 廊坊市| 福清市| 潜江市| 凤庆县| 垣曲县| 宕昌县| 镶黄旗| 林口县| 建阳市| 庆元县| 云梦县| 团风县| 宁都县| 交口县| 大英县| 武威市| 黄平县| 资阳市|