Struct NetCodeDebugConfig
Add this component to a singleton entity to configure the NetCode package logging level and to enable/disable packet dumps.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct NetCodeDebugConfig : IComponentData, IQueryTypeParameter
Fields
DumpPackets
Enable/disable packet dumps. Packet dumps are meant to be enabled mostly for debugging purpose, being very expensive in both CPU and memory.
Declaration
public bool DumpPackets
Field Value
Type | Description |
---|---|
bool |
LogLevel
The logging level used by netcode. The default is Notify.
Declaration
public NetDebug.LogLevelType LogLevel
Field Value
Type | Description |
---|---|
NetDebug.LogLevelType |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter