ClearButtonInformation

Clears all the registered button information and leaves the menu empty with the same number of buttons.

using UnityEngine;

public class RadialMenuExample : MonoBehaviour
{
	void Update ()
	{
		// If the space bar has been pressed...
		if( Input.GetKeyDown( KeyCode.Space ) )
		{
			// Clear all the stored button informations, but leave the button count on the menu.
			UltimateRadialMenu.ClearButtonInformation( "ExampleMenu" );
		}
	}
}

Last updated