MUSwitcher
Included since version 6.2.3 beta

Properties

Requirements

Last updated
Included since version 6.2.3 beta
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).

Switch To Group: The name of the group (e.g., MUVariant1) that should be activated when an MU enters the sensor area.

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
The MUSwitcher must be attached to the same GameObject as a Sensor component.
MU subcomponents must include a Group component that defines their GroupName.

Last updated