Class BeforePhysicsSystemGroup
A system group that runs before physics. In almost all cases, this provides no behaviour difference over manually typing [UpdateInGroup(typeof(FixedStepSimulationSystemGroup))][UpdateBefore(typeof(PhysicsSystemGroup))]. The only benefit of using [UpdateInGroup(BeforePhysicsSystemGroup)] is the fact that the systems which update in this group will be correctly copied by CustomPhysicsSystemGroup in cases of using multiple worlds. If using [UpdateInGroup(typeof(FixedStepSimulationSystemGroup))][UpdateBefore(typeof(PhysicsSystemGroup))] the [UpdateBefore] attribute will be invalid in CustomPhysicsSystemGroup.
Inherited Members
Namespace: Unity.Physics.Systems
Syntax
[UpdateInGroup(typeof(PhysicsSystemGroup))]
[UpdateBefore(typeof(PhysicsInitializeGroup))]
public class BeforePhysicsSystemGroup : ComponentSystemGroup