--- tags: 環境構築 --- # Unity環境構築 2023/08/28 4.VSCodeのインストールに追記 ## 使用するUnity Editor Unity 2021.3.12f1 ## 1.UnityIDの作成 https://id.unity.com/ja/conversations/1f85a73f-d922-4067-8179-99df1084938c01cf ここからUnityIDを作成してログインしてください もしすでにUnityIDを持っている場合はそれでログインしてもOK ## 2.UnityHubのダウンロード UnityHub https://unity.com/ja/download をダウンロード UnityHubをインストールしたあと、自分のUnityIDでログイン ## 3.UnityEditorのインストール ~~unityhub://2021.3.12f1/8af3c3e441b1~~ ~~これをブラウザのリンクに張り付けてUnityHubでUnity2021.3.12f1をインストール~~ [追記 2024/12/06] https://unity.com/ja/releases/editor/whats-new/2021.3.12 ここからUnityをインストール 日本語化したい人は日本語を入れる  VisualStudioでコードを書く場合は一番上の「Microsoft VisualStudio Community 2022」にチェックを入れる  また、VisualStudioインストーラーではUnityのモジュールにチェックをいれてインストールすること ## 4.VSCodeのインストール(VisualStudioを使いたくない人だけ)(Macは未確認) Visual Studio Code https://code.visualstudio.com/ をインストールした後、拡張機能から - [Unity](https://marketplace.visualstudio.com/items?itemName=VisualStudioToolsForUnity.vstuc) - [C#](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp) - [C#DevKit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) - [.NET Install Tool for Extension Authors](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime) を入れる また、.NET Framework 4.7.1のDeveloper Packをインストールする https://dotnet.microsoft.com/ja-jp/download/dotnet-framework/net471  次にテキトーなUnityProjectを作成して開き、Edit(画面左上)->Preferences->External Toolsの中にあるExternal Script EditorをVisual Studio Codeにし、その下のチェックボックスをすべて選択する  (以下2023/08/28追記部分) その後Preferencesを閉じた後、window->PackageManagerを開き  PackageからUnityレジストリを選択 そのあと`VisualStadio`と検索して  これらを導入 ## 5.日本語化(したい人だけ) ### UnityHubの場合 Hubの歯車を押してAppearanceの中のLanguageを変更 ### UnityEditorの場合 UnityEditorインストール時に日本語モジュールを入れてない人はモジュールを加える そのあと何かテキトーなUnityProjectを開いてEditorを起動した後、Edit(画面左上)->Preferences->Languageを変更
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up