Migrating to UNITY_ASSETS_DIR prop
This commit is contained in:
parent
a27b01688e
commit
69ec9dd640
|
@ -30,8 +30,7 @@ task('config_worker', function(array $args)
|
|||
|
||||
function config_base_dir()
|
||||
{
|
||||
global $GAME_ROOT;
|
||||
return "$GAME_ROOT/unity/Assets/Configs/";
|
||||
return get("UNITY_ASSETS_DIR") . "/Configs";
|
||||
}
|
||||
|
||||
function config_build_dir()
|
||||
|
@ -169,7 +168,7 @@ function config_sync_build_dir_with_prod()
|
|||
$build_ext_dir = config_get_build_ext_dir();
|
||||
ensure_mkdir($build_ext_dir);
|
||||
|
||||
ensure_sync($build_ext_dir, "$GAME_ROOT/unity/Assets/Resources/ext_config/");
|
||||
ensure_sync($build_ext_dir, get("UNITY_ASSETS_DIR")."/Resources/ext_config/");
|
||||
}
|
||||
|
||||
function config_make_standalone_ext_bundle(array $configs, $file_path)
|
||||
|
|
Loading…
Reference in New Issue