Toggles the state of the button on the radial menu being selected.
usingUnityEngine;publicclassRadialButtonInfoExample:MonoBehaviour{ // BE SURE TO ASSIGN THIS IN THE INSPECTOR //publicUltimateRadialMenu radialMenu;publicUltimateRadialButtonInfo buttonInfo;voidStart () { // Register the button to the menu.radialMenu.RegisterButton( MyCallback, buttonInfo ); // After the button info has been registered, then call the ToggleSelect function.buttonInfo.ToggleSelect(); }voidMyCallback () {Debug.Log( "MyCallback" ); }}