MUSwitcher
The MU Switcher component allows dynamic switching of parts or variants of Moving Units (MUs) based on sensor triggers. It is typically used in scenarios where different configurations or visual representations of an MU need to be activated during runtime (e.g., for visual changes, turning easy MUs into complex ones and so on).
Changing MUs with MUSwitcher (Demo2 in DemoChangeMU demonstration model)
Properties
Section titled “Properties”Switch To Group: The name of the group (e.g., MUVariant1) that should be activated when an MU enters the sensor area.

MUSwitcher attached to a Sensor
When an MU enters the sensor associated with the MUSwitcher:
- All subcomponents of the MU that are part of the specified group (matching the
Switch To Group) are enabled (set active). - All other groups are disabled (set inactive).
- Any GameObjects under the MU that do not belong to a group remain in their current active state
Requirements
Section titled “Requirements”- The
MUSwitchermust be attached to the same GameObject as aSensorcomponent. - MU subcomponents must include a
Groupcomponent that defines theirGroupName.

Example of a part with several Groups