UnityのScriptEditorをVSCodeにする


以下のサイトを参考に…。

簡単には、Preference→External Tools→External Script Editorを変更すればOK。

ところで、UnityからC#のコードを表示させようとしたら、VSCodeにて

The .NET CLI tools cannot be located. .NET Core debugging will not be enabled. Make sure .NET CLI tools are installed and are on the path.

というエラーが表示されました。そのエラーの横に表示されていた[Get .NetCLI tools]を選択すると次のURLに飛ばされました。

Download .NET SDKを選択して、インストールプログラムをダウンロードし実行。そうすると、Microsoft .NET Core SDK – 2.1.3がインストールされます。これでOK。

一応、インストール完了時に表示されるメッセージをメモ。

The installation was successful

The following were installed at C:\Program Files\dotnet
    • .NET Core SDK 2.1.3
    • .NET Core Runtime 2.0.4
    • Runtime Package Store

This product collects usage data
    • More information and opt-out https://aka.ms/dotnet-cli-telemetry

Resources
    • Core Documentation https://aka.ms/dotnet-docs
    • SDK Documentation https://aka.ms/dotnet-cli-docs
    • Release Notes https://aka.ms/20-p2-rel-notes
    • Tutorials https://aka.ms/dotnet-tutorials

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください