MUSwitcher
Included since version 6.2.2 beta 7175
Last updated
Included since version 6.2.2 beta 7175
Last updated
The MU Switcher component allows dynamic switching of parts or variants of 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
.