Migrating to UNITY_ASSETS_DIR prop
This commit is contained in:
parent
ac6f60d01d
commit
fccadb76af
|
@ -16,7 +16,7 @@ function bhl_build_dll($mcs_bin)
|
|||
{
|
||||
global $GAME_ROOT;
|
||||
|
||||
$dll_file = "$GAME_ROOT/unity/Assets/Plugins/game_bhl.dll";
|
||||
$dll_file = get("UNITY_ASSETS_DIR")."/Plugins/game_bhl.dll";
|
||||
|
||||
bhl_shell_ensure("build_back_dll $mcs_bin $dll_file " . (is_dev() ? '-debug' : ''));
|
||||
|
||||
|
@ -218,9 +218,9 @@ function bhl_run_ex($bhl_inc_dir, array $bhl_files, $result_file, $debug = true,
|
|||
ensure_rm($err_file);
|
||||
|
||||
$user_sources = array(
|
||||
"$GAME_ROOT/unity/Assets/Scripts/bhl/register.cs",
|
||||
get("UNITY_ASSETS_DIR")."/Scripts/bhl/register.cs",
|
||||
"$GAME_ROOT/dll_src/bhl/autobind.cs",
|
||||
"$GAME_ROOT/unity/Assets/Scripts/bhl/autobind.cs"
|
||||
get("UNITY_ASSETS_DIR")."/Scripts/bhl/autobind.cs"
|
||||
);
|
||||
|
||||
$postproc_sources = array(
|
||||
|
|
Loading…
Reference in New Issue