Skip to content
Editor tool that allows you to add your own prefabs to the GameObject menu
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets
Packages
ProjectSettings
Screenshots
.DS_Store
.gitignore
LICENSE
README.md

README.md

Prefab Menu Tool

Unity custom editor tool

Add your own prefabs to the GameObject menu

Configure in the editor

Generate a C# file

Your prefabs can now be instantiated from the GameObject menu

Installation

  • Download the latest release of the package
  • Import the package into your Unity project with Assets -> Import Package -> Custom Package

Usage

  • Open the configuration menu with Tools -> Prefab Menu Builder
  • Click the + button to add an item
  • Fill out the fields to set the prefab, menu item path and priority
    • See the MenuItem docs for more info on menu item path and priority
  • Use the x button to remove an item
  • Use the arrow buttons to rearrange the items
  • Click the "Generate menu script" to generate the menu
  • Wait for the new script to compile
  • Right-click in the hierarchy and your new menu items should appear

Compatibility

Made with Unity 2018.4.13f1

You can’t perform that action at this time.