Version: 2021.2
VR feature set
Cinematic Studio feature set

Engineering feature set

The Engineering feature set contains packages for integration of C# integrated development environments (IDE), unit testing, code coverage and performance analysis.

准备开始

Unity supports the following IDEs: Visual Studio (Windows, macOS), Visual Studio Code (Windows, macOS, Linux) and JetBrains Rider (Windows, macOS, Linux).

To choose which IDE to use with the Unity Editor, go to Unity/Edit > Preferences > External Tools > External Script Editor.

The Unity Test Framework (UTF) lets you test your code in both Edit Mode and Play Mode, and also on target platforms such as Standalone, Android and iOS.

To access the Unity Test Framework (UTF) in the Unity Editor, go to Window > General > Test Runner.

The Profile Analyzer aggregates and visualizes frame and marker data from a set of Unity Profiler frames to help you understand their behavior. You can use the Profile Analyzer to compare two sets of data side-by-side, which complements the single frame analysis already available in the Unity Profiler.

To open the Profile Analyzer window, go to Window > Analysis > Profile Analyzer.

Use the Code Coverage package with the Test Runner to gather and present test coverage information. Run your tests with code coverage enabled to see which lines of code are executed when the tests run, and whether the tests pass or fail.

To open the Code Coverage window in the Unity Editor, go to Window > Analysis > Code Coverage.

Use the Editor Coroutines package to start the execution of iterator methods within the Editor, similar to how we handle Coroutines inside MonoBehaviour scripts during runtime.

Packages

The Engineering feature set contains the following packages:

Resources

Related forums

Public roadmap

Find out about upcoming features in the Engineering roadmap.

VR feature set
Cinematic Studio feature set