RemoveButton

Removes the radial button at the targeted index.

using UnityEngine;

public class RadialMenuExample : MonoBehaviour
{
	void Update ()
	{
		// If the space bar has been pressed...
		if( Input.GetKeyDown( KeyCode.Space ) )
		{
			// Remove the button at the end of the menu.
			UltimateRadialMenu.RemoveButton( "ExampleMenu", radialMenu.UltimateRadialButtonList.Count - 1 );
		}
	}
}

Last updated