/// <summary> /// Removes this information from the current radial button. /// </summary> public void RemoveInfoFromRadialButton() { // If the radial button is null, notify the user and return. if (RadialButtonError) { return; } radialButton.ClearButtonInformation(); radialButton = null; }
/// <summary> /// Deletes the radial menu button. /// </summary> public void RemoveRadialButton() { // If the radial button is null, notify the user and return. if (RadialButtonError) { return; } // Remove the radial button from the menu. radialButton.radialMenu.RemoveRadialButton(radialButton.buttonIndex); radialButton = null; }
/// <summary> /// [Internal] This function is subscribed to the OnClearButtonInformation callback on the radial button that this is assigned to. /// </summary> public void OnClearButtonInformation() { // Reset this information since the button information was cleared. radialButton = null; }