Class NetworkVariableAnticipationComponent
Inheritance
NetworkVariableAnticipationComponent
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)
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class NetworkVariableAnticipationComponent : NetworkBehaviour
Fields
ReanticipateOnAnticipationFailVariable
Declaration
public AnticipatedNetworkVariable<float> ReanticipateOnAnticipationFailVariable
Field Value
SmoothOnAnticipationFailVariable
Declaration
public AnticipatedNetworkVariable<float> SmoothOnAnticipationFailVariable
Field Value
SnapOnAnticipationFailVariable
Declaration
public AnticipatedNetworkVariable<int> SnapOnAnticipationFailVariable
Field Value
SnapRpcResponseReceived
Declaration
public bool SnapRpcResponseReceived
Field Value
Methods
OnReanticipate(double)
Declaration
public override void OnReanticipate(double lastRoundTripTime)
Parameters
Type |
Name |
Description |
double |
lastRoundTripTime |
|
Overrides
SetReanticipateValueRpc(float)
Declaration
[Rpc(SendTo.Server)]
public void SetReanticipateValueRpc(float f)
Parameters
Type |
Name |
Description |
float |
f |
|
SetSmoothValueRpc(float)
Declaration
[Rpc(SendTo.Server)]
public void SetSmoothValueRpc(float f)
Parameters
Type |
Name |
Description |
float |
f |
|
SetSnapValueResponseRpc(RpcParams)
Declaration
[Rpc(SendTo.SpecifiedInParams)]
public void SetSnapValueResponseRpc(RpcParams rpcParams)
Parameters
SetSnapValueRpc(int, RpcParams)
Declaration
[Rpc(SendTo.Server)]
public void SetSnapValueRpc(int i, RpcParams rpcParams = default)
Parameters