# MGS-ContextMenu **Repository Path**: Mogoson/mgs-contextmenu ## Basic Information - **Project Name**: MGS-ContextMenu - **Description**: Unity plugin for make context menu UI in scene. - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 9 - **Forks**: 7 - **Created**: 2017-06-15 - **Last Updated**: 2025-03-04 ## Categories & Tags **Categories**: desktop-ui **Tags**: None ## README # MGS-ContextMenu ## Summary - Unity plugin for make context menu UI in scene. ## Demand - In Unity scene, show context menu when mouse right button click on the target gameobject and click the menu item to do something. ## Environment - Unity 5.3 or above. - .Net Framework 3.0 or above. ## Achieve - IContextMenuElement : Interface for context menu element. - IContextMenuItem : Interface for context menu item. - IContextMenuSeparator : Interface for context menu separator. - IContextMenuTrigger : Interface for context menu trigger. - IContextMenuTriggerHandler : Interface for context menu trigger handler. - IContextMenuForm : Interface of custom context menu form. - IContextMenuFormHandler : Interface for context menu form handler. - ContextMenuElement : Element of context menu. - ContextMenuObject : Context menu support object. - ContextMenuTriggerHandler : Handler of contex menu trigger. - ContextMenuForm : Context menu form. - ContextMenuItem : Item of context menu. - ContextMenuSeparator : Separator of context menu. - ContextMenuTrigger : Trigger of context menu. ## Demo - Demos in the path "MGS-ContextMenu\Scenes" provide reference to you. ## Preview - Context Menu Example ![Context Menu Example](./Attachment/README_Image/ContextMenuExample.gif) ## Contact - If you have any questions, feel free to contact me at mogoson@outlook.com.