Hi there, I know that you can do radio button root and it will affect multiple check boxes. However I need to do it with multiple roots but not sure how to go about this.
For example if item 1 is checked, and the Item 3 is pressed and becomes checked, item 1 goes off, and if then item 5 is pressed, item 3 goes off.
My hierarchy looks like this
-UiGrid
-Item1 (not a pane)
- Checkbox
-Item2 (not a pane)
- Checkbox
-Item3 (not a pane)
- Checkbox
-Item4 (not a pane)
- Checkbox
-Item5 (not a pane)
- Checkbox
-Item6 (not a pane)
- Checkbox
yet RadioButtonRoot can only be attached to a single item.
I had tried to do this, but it does't do anything.
void EquipAndy()
{
string itemId = AndysApplesAssets.ANDY_GOOD.ItemId;
if (andy.equipCheck.isChecked)
{
if (!StoreInventory.IsVirtualGoodEquipped(itemId))
{
StoreInventory.EquipVirtualGood(itemId);
kelly.equipCheck.isChecked = false;
ninja.equipCheck.isChecked = false;
pig.equipCheck.isChecked = false;
pirate.equipCheck.isChecked = false;
wizard.equipCheck.isChecked = false;
}
}
}
Any and all help will be greatly appreciated.