- Home /
Question by
komodor · Jul 20, 2016 at 02:38 PM ·
editor-scriptingprocedural-generationmenuitem
Creating MenuItems procedurally
I would like to run a script at the opening of menu, for example
Windows/SceneList
and create submenu by script, for example:
Windows/SceneList/Scene1
Windows/SceneList/Scene2
Windows/SceneList/Scene3
Is it possible and how?
Comment
Your answer
Follow this Question
Related Questions
Unity Editor - validating GameObjects 0 Answers
How set order in [MenuItem] attribute like in [CreateAssetMenu] attribute? 2 Answers
(Editor Scripting) Is it possible to generate MenuItems? 2 Answers
MenuItem from foreach a list? 1 Answer
Unity Editor: Calling EditorCoroutine from MenuItem 2 Answers