Physics Conveyor: OnConveyorRunningStateChange
Invoked when the running state of the physics conveyor is changed.
⚡ Event
void xxxxxxxxxxxxxxxxx(conveyor: object);
⚙️ Parameters
Name | Type | Description |
---|---|---|
conveyor |
PhysicsConveyor | The physics conveyor that has had its Running property changed. |
📝 Example
SubscribeToEvent("OnConveyorRunningStateChange", "PhysicsConveyor1", "Physics Conveyor", OnConveyorRunningStateChange);
...
function OnConveyorRunningStateChange(conveyor)
{
LogDebug(`${conveyor.Name}.Running = ${conveyor.Running}`);
}