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