Skip to content

Commit c41a5f5

Browse files
committed
windows installation
1 parent b3b5e67 commit c41a5f5

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ class Integrations
2424
#elif UNITY_EDITOR_LINUX
2525
private const string REL_MAYA_MODULES_PATH = "Maya/"+VERSION_TAG+"/modules";
2626
#else
27-
private const string REL_MAYA_MODULES_PATH = "My Documents/Maya/"+VERSION_TAG+"/modules";
27+
private const string REL_MAYA_MODULES_PATH = "maya/"+VERSION_TAG+"/modules";
2828
#endif
2929

3030
private static string GetUserFolder()
3131
{
3232
#if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX
3333
return System.Environment.GetEnvironmentVariable("HOME");
3434
#else
35-
return System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal)
35+
return System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
3636
#endif
3737
}
3838

Assets/FbxExporters/README.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Command-line Installing Maya2017 Integration
1717

1818
You can install the package and integrations from the command-line using the following script:
1919

20-
MacOS
20+
MacOS:
2121

2222
export UNITY3D_PATH=/Applications/Unity\ 2017.1.0f3/Unity.app/Contents/MacOS/Unity
2323

@@ -32,10 +32,12 @@ export FBXEXPORTERS_PACKAGE_PATH=${PROJECT_PATH}/${PACKAGE_NAME}_${PACKAGE_VERSI
3232
# Use "InstallMaya2017CommandsOnly" to install without UI
3333
"${UNITY3D_PATH}" -batchMode -projectPath "${PROJECT_PATH}" -executeMethod FbxExporters.Integrations.InstallMaya2017 -quit
3434

35-
Configuring Maya2017
36-
--------------------
35+
Configuring Auto-loading of plugin in Maya2017
36+
----------------------------------------------
37+
38+
MacOS:
39+
40+
export MAYA_PATH=/Applications/Autodesk/maya2017/Maya.app/Contents/bin/maya
41+
42+
"${MAYA_PATH}" -command "loadPlugin unityOneClickPlugin; pluginInfo -edit -autoload true unityOneClickPlugin;quit;"
3743

38-
# run this mel script
39-
# configure Maya to autoload plugin
40-
loadPlugin unityOneClickPlugin;
41-
pluginInfo -edit -autoload true unityOneClickPlugin;

0 commit comments

Comments
 (0)