|
void | OnDestroy () |
|
void | SetGroup (int groupID, bool pop=true) |
| Makes the radio button a part of the specified group and it will thenceforth be mutually exclusive to all other radio buttons in the same group. More...
|
|
void | SetState (State state, CallType callType, PointerEventData data, bool popButtonsInGroup=true) |
|
|
object | Data |
|
ClickType | leftClick |
|
ClickEvent< PointerEventData,
State, CallType > | onClick = new ClickEvent<PointerEventData, State, CallType>() |
|
StateChangeEvent
< PointerEventData, CallType > | onFalse = new StateChangeEvent<PointerEventData, CallType>() |
|
StateChangeEvent2
< UIRadioButton, CallType,
PointerEventData > | onFalseBtn = new StateChangeEvent2<UIRadioButton, CallType, PointerEventData>() |
|
StateChangeEvent
< PointerEventData, CallType > | onTrue = new StateChangeEvent<PointerEventData, CallType>() |
|
StateChangeEvent2
< UIRadioButton, CallType,
PointerEventData > | onTrueBtn = new StateChangeEvent2<UIRadioButton, CallType, PointerEventData>() |
|
ClickType | rightClick |
|
ButtonState | stateFalse |
|
ButtonState | stateTrue |
|
TMPro.TextMeshProUGUI | textLabel |
|
bool | unselectable = true |
|
enum KSP.UI.UIRadioButton.CallType |
Enumerator |
---|
USER |
|
APPLICATION |
|
APPLICATIONSILENT |
|
enum KSP.UI.UIRadioButton.ClickType |
Enumerator |
---|
None |
|
ClickOnly |
|
ClickAndStateChange |
|
enum KSP.UI.UIRadioButton.State |
enum KSP.UI.UIRadioButton.StateSetWith |
Enumerator |
---|
LEFT |
|
RIGHT |
|
BOTH |
|
void KSP.UI.UIRadioButton.OnDestroy |
( |
| ) |
|
|
inline |
< Remove self from the group
void KSP.UI.UIRadioButton.PopOtherButtonsInGroup |
( |
| ) |
|
|
inlineprotected |
void KSP.UI.UIRadioButton.SetGroup |
( |
int |
groupID, |
|
|
bool |
pop = true |
|
) |
| |
|
inline |
Makes the radio button a part of the specified group and it will thenceforth be mutually exclusive to all other radio buttons in the same group.
- Parameters
-
groupID | The ID of the group to which this radio will be assigned. |
< Add self to the button group:
void KSP.UI.UIRadioButton.SetState |
( |
State |
state, |
|
|
CallType |
callType, |
|
|
PointerEventData |
data, |
|
|
bool |
popButtonsInGroup = true |
|
) |
| |
|
inline |
State KSP.UI.UIRadioButton.currentState |
|
protected |
object KSP.UI.UIRadioButton.Data |
Sets all other buttons in the group to false.
StateChangeEvent<PointerEventData, CallType> KSP.UI.UIRadioButton.onFalse = new StateChangeEvent<PointerEventData, CallType>() |
StateChangeEvent<PointerEventData, CallType> KSP.UI.UIRadioButton.onTrue = new StateChangeEvent<PointerEventData, CallType>() |
bool KSP.UI.UIRadioButton.unselectable = true |
State KSP.UI.UIRadioButton.CurrentState |
|
get |
Image KSP.UI.UIRadioButton.Image |
|
getset |
bool KSP.UI.UIRadioButton.Interactable |
|
getset |
int KSP.UI.UIRadioButton.RadioGroup |
|
getset |
The numbered group to which this radio button belongs. Buttons that share a group will be mutually exclusive to one another.
State KSP.UI.UIRadioButton.StartState |
|
get |
virtual bool KSP.UI.UIRadioButton.Value |
|
getset |
Provides access to the boolean value of the button.
The documentation for this class was generated from the following file: