Engineering 機能セットには、C# 統合開発環境 (IDE) のインテグレーション、ユニットテスト、コードカバレッジ、パフォーマンス分析のためのパッケージが含まれています。
Unity は以下の IDE をサポートします。Visual Studio (Windows、macOS)、Visual Studio Code (Windows、macOS、Linux)、JetBrains Rider (Windows、macOS、Linux)。
Unity エディターで使用する IDE を選択するには、Unity/Edit > Preferences > External Tools > External Script Editor の順に移動します。
Unity Test Framework (UTF) を使うと、編集モードと再生モードの両方で、また、Standalone、Android、iOS などのターゲットプラットフォームでコードをテストすることができます。
Unity エディターで Unity Test Framework (UTF) にアクセスするには、Window > General > Test Runner の順に移動します。
Profile Analyzer は、Unity プロファイラーのフレームセットからフレームとマーカーデータを収集して視覚化でき、その動作を理解するのに役立ちます。Profile Analyzer を使用すると 2 つのデータセットを並べて比較することができ、Unity プロファイラーですでに利用可能な単一フレーム分析を補います。
Profile Analyzer ウィンドウを開くには、Window > Analysis > Profile Analyzer の順にアクセスしてください。
テストカバレッジ情報を収集し、表示するには、 Test Runner で Code Coverage パッケージを使用します。コードカバレッジを有効にしてテストを実行すると、テスト実行時にどのコード行が実行されたか、また、テストが合格か不合格かを確認することができます。
Unity エディターで Code Coverage ウィンドウを開くには、 Window > Analysis > Code Coverage の順に移動します。
Editor Coroutines パッケージを使用して、エディター内で iterator メソッド の実行を開始します。ランタイム中に MonoBehaviour スクリプト内の コルーチン を処理する方法と似た方法で行います。
Engineering 機能セットには、以下のパッケージが含まれます。
これからリリースされる機能セットについては、Engineering ロードマップを参照してください。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.