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

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:

主站蜘蛛池模板: 稻城县| 交口县| 巩义市| 景泰县| 噶尔县| 大新县| 泸溪县| 柘城县| 包头市| 金沙县| 全椒县| 临沭县| 长治市| 米脂县| 稻城县| 车险| 曲水县| 邯郸市| 金昌市| 肥西县| 绿春县| 阿尔山市| 思茅市| 平泉县| 偃师市| 夹江县| 津市市| 通海县| 平阳县| 平果县| 大理市| 措美县| 玛多县| 河西区| 深泽县| 合肥市| 富锦市| 岢岚县| 嵊泗县| 遂昌县| 宁河县|