Class NetVarContainer
This is a refactor of the original test's NetworkBehaviour INetVarInfo derived NetworkBehaviours
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetVarContainer : NetworkBehaviour
Fields
Name | Description |
---|---|
Number |
|
Value |
Methods
Name | Description |
---|---|
Are |
Only used on the server side to check the isDirty flag for the NetworkVariables being used for each test iteration |
Create |
Creates a prefab with two instances of this NetworkBehaviour |
Have |
Only used on the client-side for this test, this is used to see if the network variables have changed. |
On |
Gets called when the Network |
Set |
Server side only, sets the NetworkVariables being used to the ValueToSetNetVarTo that is pre-configured when the Network Prefab is created. |