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

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:

主站蜘蛛池模板: 临洮县| 恩平市| 安阳县| 潜江市| 广河县| 罗山县| 葵青区| 沐川县| 泸水县| 博野县| 桓仁| 呼和浩特市| 玛纳斯县| 绵阳市| 雷山县| 枣庄市| 无棣县| 绍兴县| 江达县| 石渠县| 娄底市| 友谊县| 榆中县| 永兴县| 响水县| 瑞安市| 芷江| 中阳县| 南部县| 广西| 鄯善县| 金昌市| 凌云县| 汕尾市| 上栗县| 长春市| 务川| 双柏县| 宁城县| 博白县| 库伦旗|