Class NetworkVariableInheritanceTests.ComponentA
Inheritance
NetworkVariableInheritanceTests.ComponentA
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class NetworkVariableInheritanceTests.ComponentA : NetworkBehaviour
Fields
PublicFieldA
Declaration
public NetworkVariable<int> PublicFieldA
Field Value
| Type | Description |
|---|---|
| NetworkVariable<int> |
m_ProtectedFieldA
Declaration
protected NetworkVariable<int> m_ProtectedFieldA
Field Value
| Type | Description |
|---|---|
| NetworkVariable<int> |
Methods
ChangeValuesA(int, int, int)
Declaration
public void ChangeValuesA(int pub, int pro, int pri)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pub | |
| int | pro | |
| int | pri |
CompareValuesA(ComponentA)
Declaration
public bool CompareValuesA(NetworkVariableInheritanceTests.ComponentA other)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkVariableInheritanceTests.ComponentA | other |
Returns
| Type | Description |
|---|---|
| bool |