Class NetworkVariablePermissionTests
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class NetworkVariablePermissionTests : NetcodeIntegrationTest
Constructors
Name | Description |
---|---|
Network |
Properties
Name | Description |
---|---|
Number |
Methods
Name | Description |
---|---|
Client |
|
Client |
|
Client |
This tests the scenario where a client owner has both read and write permissions set. The server should be the only instance that can read the NetworkVariable. ServerCannotChangeOwnerWritableNetVar performs the same check to make sure the server cannot write to a client owner NetworkVariable with owner write permissions. |
On |
Invoked after the server and clients have started and verified their connections with each other. |
On |
This is invoked before the server and client(s) are started. Override this method if you want to make any adjustments to their NetworkManager instances. |
Server |
|
Server |
|
Server |
|
Test |