Skip to content

Commit

Permalink
Merge pull request #173 from Unity-Technologies/Uni-16806-menuitem-pr…
Browse files Browse the repository at this point in the history
…iority

control menuitem order using priority
  • Loading branch information
inwoods authored Jun 23, 2017
2 parents b80dc98 + 2acfb3a commit cc03e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/export/Assets/Editor/FbxExporter13.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class FbxExporter13 : System.IDisposable
@"";

const string MenuItemName = "File/Export FBX/13. Scene with mesh instances";
const string MenuItemName1 = "File/Export FBX/Create Example Scene/Scene with lots of mesh instances (select model prefab)";
const string MenuItemName1 = "File/Export FBX/Example Scene/1000 instances of selected Model Prefab(s)";

const string FileBaseName = "example_mesh_instances";

Expand Down Expand Up @@ -555,7 +555,7 @@ public static bool OnValidateMenuItem ()
/// <summary>
/// create menu item in the File menu
/// </summary>
[MenuItem (MenuItemName1, false)]
[MenuItem (MenuItemName1, false, -100)]
public static void OnMenuItem1 ()
{
OnCreateScene ();
Expand Down

0 comments on commit cc03e14

Please sign in to comment.