OpenContextMenu
Opens Context Menu by clicking on a non-UI gameobject.
Requires
PhysicsRaycaster on main camera for the 3D objects.Requires
PhysicsRaycaster2D on main camera for the 2D objects.Options
Interactable
boolAllow users interact with this widget.
Menu
ContextMenuMenu to open.
PointerButton
PointerEventData.InputButtonThe pointer button is used to open the menu.