_copyprj_common_ui.bat 1.1 KB

12345678910111213141516
  1. @SET CommonDir=%1
  2. @SET UnityAssetsDir=%2
  3. @ECHO Copy Project Common UI: %1 "->" %2
  4. @IF NOT EXIST %UnityAssetsDir%"Pro Standard Assets"\Common @MD %UnityAssetsDir%"Pro Standard Assets"\Common
  5. @IF NOT EXIST %UnityAssetsDir%Editor\Common @MD %UnityAssetsDir%Editor\Common
  6. @IF NOT EXIST %UnityAssetsDir%Resources\Shaders @MD %UnityAssetsDir%Resources\Shaders
  7. @call %CommonDir%_copyprj.bat %CommonDir%CommonUI %UnityAssetsDir%"Pro Standard Assets"\Common\CommonUI
  8. @call %CommonDir%_copyprj.bat %CommonDir%CommonUI_Unity3D\Src %UnityAssetsDir%"Pro Standard Assets"\Common\CommonUI_Unity3D\Src
  9. @call %CommonDir%_copyprj.bat %CommonDir%CommonUnity3D %UnityAssetsDir%"Pro Standard Assets"\Common\CommonUnity3D
  10. @call %CommonDir%_copyprj.bat %CommonDir%CommonUnity3DEditor %UnityAssetsDir%Editor\Common\CommonUnity3DEditor
  11. @xcopy /Q /Y /S %CommonDir%CommonUI_Unity3D\Platform\*.* %UnityAssetsDir%Plugins
  12. @xcopy /Q /Y /S %CommonDir%CommonUI_Unity3D\Shaders\*.* %UnityAssetsDir%Resources\Shaders