static bool Radio(string text, bool active)
|string text||Text to display on the radio, should be per-window unique as it will be used as the element id.|
|bool active||Does this button look like it’s pressed?|
|RETURNS: bool||Will return true only on the first frame it is pressed!|
A Radio is similar to a button, except you can specify if it looks pressed or not regardless of interaction. This can be useful for radio-like behavior! Check an enum for a value, and use that as the ‘active’ state, Then switch to that enum value if Radio returns true.