@echo off
cd /D %~dp0
set UNITY_PROJECT=C:\UnityWorkSpace\phys\Assets\Jolt\Jolt.Native\Debug
echo OutputDir:%UNITY_PROJECT%
::if "%UNITY_PROJECT%"=="" ( echo UNITY_PROJECT missing && exit )
::echo %UNITY_PROJECT%\Unity\Assets\Jolt\Bindings
::md %UNITY_PROJECT%\Unity\Assets\Jolt\Bindings
::md %UNITY_PROJECT%\Unity\Assets\Jolt\lib\Debug
::copy bindings\UnsafeBindings.g.cs %UNITY_PROJECT%\Unity\Assets\Jolt\Bindings\UnsafeBindings.g.cs
echo 11111
copy vs2022_x64\bin\Debug\joltc.dll %UNITY_PROJECT%
echo 22222
pause
网友评论