Skip to content

Commit af285a2

Browse files
committed
CR change
1 parent 4d3b5a8 commit af285a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Assets/FbxExporters/README.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ You can install the package and integrations from the command-line using the fol
1919
MacOS:
2020

2121
# Configure where Unity is installed
22-
if [ ! -f "${UNITY3D_PATH}" ]; then
23-
UNITY3D_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
22+
if [ ! -f "${UNITY_EDITOR_PATH}" ]; then
23+
UNITY_EDITOR_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
2424
fi
2525

2626
# Configure where unitypackage is located
@@ -33,14 +33,14 @@ if [ ! -f "${PROJECT_PATH}" ]; then
3333
PROJECT_PATH=~/Development/FbxExporters
3434
fi
3535

36-
if [ ! -f "${UNITY3D_PATH}" ]; then
36+
if [ ! -f "${UNITY_EDITOR_PATH}" ]; then
3737
echo "Unity is not installed"
3838
else
3939
# Install FbxExporters package
40-
"${UNITY3D_PATH}" -projectPath "${PROJECT_PATH}" -importPackage ${PACKAGE_PATH} -quit
40+
"${UNITY_EDITOR_PATH}" -projectPath "${PROJECT_PATH}" -importPackage ${PACKAGE_PATH} -quit
4141

4242
# Install Maya2017 Integration
43-
"${UNITY3D_PATH}" -batchMode -projectPath "${PROJECT_PATH}" -executeMethod FbxExporters.Integrations.InstallMaya2017 -quit
43+
"${UNITY_EDITOR_PATH}" -batchMode -projectPath "${PROJECT_PATH}" -executeMethod FbxExporters.Integrations.InstallMaya2017 -quit
4444

4545
# Configuring Maya2017 to auto-load integration
4646
MAYA_PATH=/Applications/Autodesk/maya2017/Maya.app/Contents/bin/maya
@@ -49,7 +49,7 @@ else
4949
echo "Maya2017 not installed"
5050
else
5151
# To configure without user interface change the last argument to 1 instead of 0
52-
"${MAYA_PATH}" -command "configureUnityOneClick \"${PROJECT_PATH}\" \"${UNITY3D_PATH}\" 0; scriptJob -idleEvent quit;"
52+
"${MAYA_PATH}" -command "configureUnityOneClick \"${PROJECT_PATH}\" \"${UNITY_EDITOR_PATH}\" 0; scriptJob -idleEvent quit;"
5353
fi
5454
fi
5555

0 commit comments

Comments
 (0)