File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Assets/Integrations/Autodesk/mayalt/scripts Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ global string $kMenuName = "UnityFbxForMaya";
2
+ global string $kMenuDivider = "UnityFbxForMayaDivider";
3
+ global string $kMenuLabel = "Unity";
4
+ global string $kMenuInsertAfter = "exportActiveFileOptions";
5
+
6
+ global proc setupUnityUI(){
7
+ evalDeferred -lowestPriority "buildFileMenu; \
8
+ $parentMenu = $gMainFileMenu; \
9
+ $pluginVersion = whatsNewVersion(); \
10
+ menuItem -parent $parentMenu -insertAfter $kMenuInsertAfter -divider true -longDivider false -version $pluginVersion $kMenuDivider; \
11
+ menuItem -parent $parentMenu -insertAfter $kMenuDivider -subMenu true -label $kMenuLabel -tearOff true -version $pluginVersion $kMenuName;";
12
+ }
13
+
14
+ global proc string whatsNewVersion(){
15
+ return `about -q -version`;
16
+
17
+ }
You can’t perform that action at this time.
0 commit comments