Field NetVarCombinationTypeValues
This list replaces the original NetworkVariable types to be checked. Both NetworkVariables are of type int and the original version of this test was testing the NetworkBehaviour Update when there were 1 or more (i.e two) on the same NetworkBehaviour. After reviewing, we really only needed to test a much smaller combination of types and so this pre-generated array represents the reduced set of combinations to test. Note: The original test was also testing for no NetworkVariables of type int, which there ended up being no reason to do that and only added to the length of the execution time for this test.
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public static NetVarCombinationTypes[] NetVarCombinationTypeValues
Returns
Type | Description |
---|---|
NetVarCombinationTypes[] |