Class NetworkVariableBaseHelper
The BaseNetworkVariableHelper keeps track of: The number of instances and associates the instance with the NetworkVariable The number of times a specific NetworkVariable instance had its value changed (i.e. !Equal) Note: This could be expanded for future tests focuses around NetworkVariables
Inherited Members
Namespace: Unity.Netcode.TestHelpers.Runtime
Assembly: solution.dll
Syntax
public class NetworkVariableBaseHelper
Constructors
Name | Description |
---|---|
NetworkVariableBaseHelper(NetworkVariableBase) |
Properties
Name | Description |
---|---|
InstanceCount | Returns the total number of registered INetworkVariables |
VarChangedCount | Returns total number of changes that occurred for all registered INetworkVariables |
Methods
Name | Description |
---|---|
ValueChanged() | Called by the child class NetworkVariableHelper when a value changed |