@@ -2,19 +2,25 @@ global string $kMenuName = "UnityFbxForMaya";
2
2
global string $kMenuDivider = "UnityFbxForMayaDivider";
3
3
global string $kMenuLabel = "Unity";
4
4
global string $kMenuInsertAfter = "exportActiveFileOptions";
5
+
5
6
global string $kImportIconPath = "import.png";
6
7
global string $kExportIconPath = "export.png";
7
8
global string $kUnityIconPath = "unity.png";
8
9
10
+ global string $kFamilyLabel = "The UnityFbxForMaya plugin allows you to reliably exchange and review your work between Maya and Unity.";
11
+ global string $kImportLabel = "Import FBX file from Unity Project and auto-configure for exporting";
12
+ global string $kExportLabel = "Export Model to Unity";
13
+
14
+
9
15
global proc setupUnityUI(){
10
16
evalDeferred -lowestPriority "buildFileMenu; \
11
17
$parentMenu = $gMainFileMenu; \
12
18
$pluginVersion = whatsNewVersion(); \
13
19
source \"unityCommands.mel\"; \
14
20
menuItem -parent $parentMenu -insertAfter $kMenuInsertAfter -divider true -longDivider false -version $pluginVersion $kMenuDivider; \
15
- menuItem -parent $parentMenu -insertAfter $kMenuDivider -subMenu true -label $kMenuLabel -tearOff true -ltVersion $pluginVersion -image $kUnityIconPath $kMenuName; \
16
- menuItem -parent $kMenuName -label \"Import\" -ltVersion $pluginVersion -image $kImportIconPath -command \"unityImport\"; \
17
- menuItem -parent $kMenuName -label \"Export\" -ltVersion $pluginVersion -image $kExportIconPath -command \"unityExport\";";
21
+ menuItem -parent $parentMenu -insertAfter $kMenuDivider -subMenu true -label $kMenuLabel -tearOff true -ltVersion $pluginVersion -image $kUnityIconPath -annotation $kFamilyLabel $kMenuName; \
22
+ menuItem -parent $kMenuName -label \"Import\" -ltVersion $pluginVersion -image $kImportIconPath -annotation $kImportLabel - command \"unityImport\"; \
23
+ menuItem -parent $kMenuName -label \"Export\" -ltVersion $pluginVersion -image $kExportIconPath -annotation $kExportLabel - command \"unityExport\";";
18
24
}
19
25
20
26
global proc string whatsNewVersion(){
0 commit comments