ResetPosition

Resets the position of the radial menu back to its original position.

using UnityEngine;

public class RadialMenuExample : MonoBehaviour
{
	void Update ()
	{
		// If the escape key has been pressed...
		if( Input.GetKeyDown( KeyCode.Escape ) )
		{
			// Reset the position of the menu on the screen.
			UltimateRadialMenu.ResetPosition( "ExampleMenu" );
		}
	}
}

Last updated