[Unity] Xamarin Studio 安裝與使用



Overview

1. Install Xamarin Studio
2. Install Xamarin Unity Add-in 6.1
3. Unity External Tools
4. Visual style & Syntax highlighter
5. Coding Style & Formatting
6. Refactoring
7. Multiple instance


1. Install Xamarin Studio

[Unity] Xamarin Studio

[Unity] Xamarin Studio

2. Install Xamarin Unity Add-in 6.1

解壓縮後會看到兩個 add-ins
MonoDevelop.Debugger.Soft.Unity_6.1.mpack
Unity.Utilities_6.1.mpack

Xamarin Studio Community => Add-ins

[Unity] Xamarin Studio

依序安裝完後
就可以在 Unity 頁籤中看到他們

[Unity] Xamarin Studio

3. Unity External Tools

Unity => Preference => External Tools
將 External Editor 指到 Xamarin Studio

[Unity] Xamarin Studio

4. Visual style & Syntax highlighter

在偏好設定裡可以設定 Visual Style 跟 Syntax Highlighting
Environment => Visual Style
Text Editor => Syntax Highlighting

[Unity] Xamarin Studio

5. Coding Style & Formatting

另外 Coding Style 預設有四種 Policy 供選擇
我是設定 Visual Studio,想要自訂格式的話
點旁邊的 C# Format 頁籤裡的 Edit 按鈕即可

[Unity] Xamarin Studio

6. Refactoring

Implement interface

[Unity] Xamarin Studio

Format Document

[Unity] Xamarin Studio

存檔時自動 Format Document

Preferece => Text Editor => Behavior
Format document on save

[Unity] Xamarin Studio

7. Multiple instance

下載 Command

或是打開終端機,貼上以下指令

/Applications/Xamarin\ Studio.app




歡迎您留言與分享!(Welcome for comments or sharing!)

Related Post:

Tagged on: