ClearMenu
Removes all of the radial buttons from the radial menu. If a value is provided for the buttonCount parameter, the radial menu will ensure that it does not remove more than that count of buttons.
using UnityEngine;
public class RadialMenuExample : MonoBehaviour
{
void Start ()
{
// Clear the radial menu to start, leaving 4 buttons on the menu.
UltimateRadialMenu.ClearMenu( "ExampleMenu", 4 );
// OR //
// Just clear the menu.
UltimateRadialMenu.ClearMenu( "ExampleMenu" );
}
}
Last updated
Was this helpful?