Disable

Disables the radial menu so that it is not visible and will not receive input.

using UnityEngine;

public class RadialMenuExample : MonoBehaviour
{
	void Update ()
	{
		// If the space key was pressed this frame, then disable the menu.
		if( Input.GetKeyDown( KeyCode.Space ) )
			UltimateRadialMenu.Disable( "ExampleMenu" );
	}
}

Last updated