|
| 1 | +######################################################################## |
| 2 | +# Unity Technologies Aps. |
| 3 | +# [2017] - . All Rights Reserved. |
| 4 | +# NOTICE: All information contained herein is, and remains |
| 5 | +# the property of Unity Technologies Aps. and its suppliers, |
| 6 | +# if any. The intellectual and technical concepts contained |
| 7 | +# herein are proprietary to Unity Technologies Aps. and its |
| 8 | +# suppliers and may be covered by Canadian, U.S. and/or |
| 9 | +# Foreign Patents, patents in process, and are protected |
| 10 | +# by trade secret or copyright law. Dissemination of this |
| 11 | +# information or reproduction of this material is strictly |
| 12 | +# forbidden unless prior written permission is obtained from |
| 13 | +# Unity Technologies Aps. |
| 14 | +# |
| 15 | +######################################################################## |
| 16 | + |
| 17 | +Installation |
| 18 | +============ |
| 19 | + |
| 20 | +1. copy unityoneclick.mod to |
| 21 | + |
| 22 | + MacOS & Ubuntu: ~/MayaProjects/modules |
| 23 | + Windows: C:\Program Files\Autodesk\Maya2017\modules |
| 24 | + |
| 25 | +2. configure path to integration |
| 26 | + |
| 27 | + {UnityProject}/Assets/Integrations/Autodesk/maya2017 |
| 28 | + |
| 29 | + |
| 30 | +Running Unit Tests |
| 31 | +================== |
| 32 | + |
| 33 | +MacOS / Ubuntu |
| 34 | + |
| 35 | +export MAYAPY_PATH=/Applications/Autodesk/maya2017/Maya.app/Contents/bin/mayapy |
| 36 | +export UNITY_PROJECT_PATH=~/Development/FbxExporters |
| 37 | +export MAYA_INTEGRATION_PATH=${UNITY_PROJECT_PATH}/Assets/Integrations/Autodesk/maya2017 |
| 38 | +export PYTHONPATH=${MAYA_INTEGRATION_PATH}/scripts |
| 39 | + |
| 40 | +# run all tests |
| 41 | +${MAYAPY_PATH} ${MAYA_INTEGRATION_PATH}/scripts/run_all_tests.py |
| 42 | + |
| 43 | +# run one test |
| 44 | +${MAYAPY_PATH} ${MAYA_INTEGRATION_PATH}/scripts/unityOneClick/commands.py |
0 commit comments