Class NetworkVariableInheritanceTests.ComponentB
Inheritance
NetworkVariableInheritanceTests.ComponentB
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.ComponentB : NetworkVariableInheritanceTests.ComponentA
Fields
PublicFieldB
Declaration
public NetworkVariable<int> PublicFieldB
Field Value
| Type | Description |
|---|---|
| NetworkVariable<int> |
m_ProtectedFieldB
Declaration
protected NetworkVariable<int> m_ProtectedFieldB
Field Value
| Type | Description |
|---|---|
| NetworkVariable<int> |
Methods
ChangeValuesB(int, int, int)
Declaration
public void ChangeValuesB(int pub, int pro, int pri)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pub | |
| int | pro | |
| int | pri |
CompareValuesB(ComponentB)
Declaration
public bool CompareValuesB(NetworkVariableInheritanceTests.ComponentB other)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkVariableInheritanceTests.ComponentB | other |
Returns
| Type | Description |
|---|---|
| bool |