Struct PhysicsWorldExporter.ExportPhysicsWorldTypeHandles
Stores the ECS component handles needed to export PhysicsWorld to ECS components.
Inherited Members
Namespace: Unity.Physics.Systems
Assembly: Unity.Physics.dll
Syntax
public struct PhysicsWorldExporter.ExportPhysicsWorldTypeHandles
Constructors
ExportPhysicsWorldTypeHandles(ref SystemState)
Constructor.
Declaration
public ExportPhysicsWorldTypeHandles(ref SystemState systemState)
Parameters
Type | Name | Description |
---|---|---|
SystemState | systemState | [in,out] State of the system. |
Methods
Update(ref SystemState)
Updates the component handles. Call this in OnUpdate() methods of the system you want to export physics world.
Declaration
public void Update(ref SystemState systemState)
Parameters
Type | Name | Description |
---|---|---|
SystemState | systemState | [in,out] State of the system. |