Radial Menu

A radial menu or also known as pie menu is a circular context menu.

This script shows how you can trigger the Radial Menu.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DevionGames.UIWidgets;
using UnityEngine.EventSystems;

public class RadialMenuTrigger : MonoBehaviour, IPointerDownHandler
{
    /// <summary>
    /// Options
    /// </summary>
    public Sprite[] menuIcons;

    private RadialMenu m_RadialMenu;

    // Start is called before the first frame update
    private void Start()
    {
        //Find reference in scene
        this.m_RadialMenu = WidgetUtility.Find<RadialMenu>("RadialMenu");
    }

    /// <summary>
    /// Detect current clicks on the GameObject (the one with the script attached)
    /// </summary>
    /// <param name="eventData"></param>
    public void OnPointerDown(PointerEventData eventData)
    {
        //Show radial menu
        this.m_RadialMenu.Show(menuIcons, delegate(int index) { Debug.Log("Used index - " + index); });
    }
}