File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,21 @@ export PROJECT_PATH=~/Development/FbxExporters
20
20
export UNITY3D_PATH=/Applications/Unity\ 5.6.1f1/Unity.app/Contents/MacOS/Unity
21
21
export PACKAGE_NAME=FbxExporters
22
22
export PACKAGE_VERSION=0.0.3a
23
+ export FBXSDK_PACKAGE_PATH=/path/to/FbxSdk.unitypackage
23
24
24
- "${UNITY3D_PATH}" -batchmode -projectPath "${PROJECT_PATH}" -exportPackage Assets/FbxExporters ${PROJECT_PATH}/${PACKAGE_NAME}_${PACKAGE_VERSION}.unitypackage -quit
25
+ "${UNITY3D_PATH} -projectPath "${PROJECT_PATH}" -importPackage ${FBXSDK_PACKAGE_PATH} -quit
26
+ "${UNITY3D_PATH}" -batchmode -projectPath "${PROJECT_PATH}" -exportPackage Assets/FbxExporters Assets/FbxSdk ${PROJECT_PATH}/${PACKAGE_NAME}_${PACKAGE_VERSION}.unitypackage -quit
27
+ ```
28
+
29
+ ** On Windows**
30
+
31
+ ```
32
+ set PROJECT_PATH=/path/to/FbxExporters
33
+ set UNITY3D_PATH="C:/Program Files/Unity/Editor/Unity.exe"
34
+ set PACKAGE_NAME=FbxExporters
35
+ set PACKAGE_VERSION=0.0.3a
36
+ set FBXSDK_PACKAGE_PATH=/path/to/FbxSdk.unitypackage
37
+
38
+ %UNITY3D_PATH% -projectPath "%PROJECT_PATH%" -importPackage %FBXSDK_PACKAGE_PATH% -quit
39
+ %UNITY3D_PATH% -batchmode -projectPath "%PROJECT_PATH%" -exportPackage Assets/FbxExporters Assets/FbxSdk %PROJECT_PATH%/%PACKAGE_NAME%_%PACKAGE_VERSION%.unitypackage -quit
25
40
```
You can’t perform that action at this time.
0 commit comments