new LogicSwitch(definition)
This component serves as a switch in the game world, typically tied to collision events such that this entity changes state when another entity collides or passed over.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
definition |
*
|