Kerbal Space Program
1.12.4
|
A class which encapsulates all that is required to track and manage radio buttons as a group. More...
Public Member Functions | |
RadioButtonGroup (int id) | |
Static Public Member Functions | |
static RadioButtonGroup | GetGroup (int id) |
Returns a reference to the radio button group specified by "id". More... | |
static IRadioButton | GetSelected (GameObject go) |
Returns a reference to the selected radio button for the specified group. More... | |
static IRadioButton | GetSelected (int id) |
Returns a reference to the selected radio button for the specified group. More... | |
Public Attributes | |
List< IRadioButton > | buttons = new List<IRadioButton>() |
int | groupID |
A class which encapsulates all that is required to track and manage radio buttons as a group.
|
inline |
|
inlinestatic |
Returns a reference to the radio button group specified by "id".
id | The ID of the group (either an arbitrary integer ID, or the hashcode of a radio button's parent transform, depending on the settings). |
|
inlinestatic |
Returns a reference to the selected radio button for the specified group.
id | The parent GameObject of the radio buttons. |
|
inlinestatic |
Returns a reference to the selected radio button for the specified group.
id | The ID of the group (either an arbitrary integer ID, or the hashcode of a radio button's parent transform, depending on the settings). |
List<IRadioButton> KSP.UI.RadioButtonGroup.buttons = new List<IRadioButton>() |
int KSP.UI.RadioButtonGroup.groupID |