Struct UpdateNetworkTimeSystem
System in charge of updating some network time values in advance, so they can be used outside the normal SimulationSystemGroup In order to get IsOffFrame, make sure your system executes after this system.
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[UpdateInGroup(typeof(InitializationSystemGroup))]
[WorldSystemFilter(WorldSystemFilterFlags.ServerSimulation|WorldSystemFilterFlags.ClientSimulation, WorldSystemFilterFlags.Default)]
public struct UpdateNetworkTimeSystem : ISystem, ISystemCompilerGenerated
Methods
OnCreateForCompiler(ref SystemState)
Declaration
public void OnCreateForCompiler(ref SystemState state)
Parameters
Type | Name | Description |
---|---|---|
SystemState | state |
OnUpdate(ref SystemState)
Declaration
public void OnUpdate(ref SystemState state)
Parameters
Type | Name | Description |
---|---|---|
SystemState | state |
Implements
Unity.Entities.ISystemCompilerGenerated