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