Physics Conveyor: OnConveyorReverseStateChange
This event is invoked when the Reverse
property is changed.
⚡ Event
void xxxxxxxxxxxxxxxxx(conveyor: object);
⚙️ Parameters
Name | Type | Description |
---|---|---|
sender |
PhysicsConveyor | The physics conveyor that has had the Reverse property changed. |
📝 Example
SubscribeToEvent("OnConveyorReverseStateChange", "PhysicsConveyor1", "Physics Conveyor", OnConveyorReverseStateChange);
...
function OnConveyorReverseStateChange(conveyor)
{
LogDebug(`${conveyor.Name}.Reverse = ${conveyor.Reverse}`);
}