Skip to content

JustBuddy/AddToHierarchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

AddToHierarchy

A simple C# script for unity to spawn a prefab into hierarchy and ping it in the Editor.

Usage

  1. Put the .cs file inside /Assets/Editor. (Create the folder Editor if it doesn't exist.)

  2. Insert your target GUID of the prefab you wish to spawn with this script in Line 8.

  3. Adjust the menu item in Line 10 to your liking.

  4. Find the new toolbar option in your Editor, press to spawn.

    Thats it.

License

None, use as you please.

About

Spawns a defined prefab by GUID into the hierarchy.

Resources

Stars

Watchers

Forks

Languages