Context Menu by mogoson - 27

GUISDK

Unity plugin for make context menu UI in scene.

Unity 5.0.0f4MIT LicenseUpdated 161 days agoCreated on June 27th, 2017
Go to source

# 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.0 or above.
  • .Net Framework 3.0 or above.

Achieve

  • ContextMenuUI : Control the context menu UI(UGUI).
  • ContextMenuTrigger : Trigger of context menu, show context menu on mouse right button click on the target gameobject.
  • ContextMenuAgent : Agent of context menu, achieve the action of context menu item is clicked.
  • In fact, this plugin just build a frame of context menu, you need write your component script, inherit the ContextMenuAgent class and achieve the OnMenuItemClick method to something that you want, and attach it to the target gameobject. just like the ContextMenuAgentExample component.

Demo

  • Demos in the path “MGS-ContextMenu\Scenes” provide reference to you.

Preview

  • Context Menu Example

Context Menu Example

Contact

Show all projects by mogoson