Fixing proj path

This commit is contained in:
Pavel Shevaev 2022-05-25 16:50:44 +03:00
parent 07100f700d
commit cc1983f280
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function unity_exec($func, $build_target = "", $quit = true, $batchmode = true)
{ {
global $GAME_ROOT; global $GAME_ROOT;
$proj_path = normalize_path("$GAME_ROOT/"); $proj_path = normalize_path(get("UNITY_ASSETS_DIR") . '/../');
$log_file = "$GAME_ROOT/build/unity.log"; $log_file = "$GAME_ROOT/build/unity.log";
ensure_rm($log_file); ensure_rm($log_file);