Enum NetcodeIntegrationTest.NetworkManagerInstatiationMode
Used to define how long NetworkManager instances persist between tests or if any should be created at all.
Namespace: Unity.Netcode.TestHelpers.Runtime
Assembly: Unity.Netcode.Runtime.Tests.dll
Syntax
public enum NetcodeIntegrationTest.NetworkManagerInstatiationMode
Fields
| Name | Description |
|---|---|
| AllTests | This will create one set of NetworkManagers used for all tests within a child derived class (destroyed once all tests are finished) |
| DoNotCreate | This will not create any NetworkManagers, it is up to the derived class to manage. |
| PerTest | This will create and destroy new NetworkManagers for each test within a child derived class |