Skip to content

Instantly share code, notes, and snippets.

@masa795
Last active December 17, 2015 18:49
Show Gist options
  • Save masa795/5655501 to your computer and use it in GitHub Desktop.
Save masa795/5655501 to your computer and use it in GitHub Desktop.
EditorApplication.ExecuteMenuItemサンプル
if (GUILayout.Button(new GUIContent("test"), GUILayout.Height(20)))
{
string menue = "Window/Asset Store";
menue = "NGUI/Panel Tool";
EditorApplication.ExecuteMenuItem(menue);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment