(2 intermediate revisions by one other user not shown)
Line 16:
Line 16:
|Targets|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]<[[Type:Bool|Bool]]>}}|TypeAdv2=true| The list of slots of which one will be enabled.
|Targets|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]<[[Type:Bool|Bool]]>}}|TypeAdv2=true| The list of slots of which one will be enabled.
|ActiveIndex|Int| The index of the currently active slot.
|ActiveIndex|Int| The index of the currently active slot.
|ActivationMode|'''[[#Mode|Mode]]'''|TypeAdv4=true| Allows for enabling items in <code>Target</code> based on <code>ActiveIndex</code> number.
|ActivationMode|'''[[#Mode|BooleanSwitcher.Mode]]'''|TypeAdv4=true| Allows for enabling items in <code>Target</code> based on <code>ActiveIndex</code> number.
|SetupForChildrenObjects:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Tells the boolean switcher to add all the children slot active fields of it's slot to it's list.
The BooleanSwitcher component can be used to enable and disable a list of Slots depending on an index in the list.
It does so by driving the Active field of the slots.