Struct CleanPhysicsDebugDataSystem_Default
A system which cleans physics debug display data from the previous frame while in play mode. When using multiple physics worlds, in order for the debug display to work properly, you need to disable the update of this system in any physics system group following the first one.
Implements
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: Unity.Physics.Hybrid.dll
Syntax
[WorldSystemFilter(WorldSystemFilterFlags.Default, WorldSystemFilterFlags.Default)]
[UpdateInGroup(typeof(PhysicsInitializeGroup), OrderFirst = true)]
public struct CleanPhysicsDebugDataSystem_Default : ISystem