Linux support
This commit is contained in:
parent
c32d6ba9ec
commit
bb0d8129f1
|
@ -166,7 +166,7 @@ function get_unity_dir()
|
||||||
{
|
{
|
||||||
$app_dir = get('UNITY_APP_DIR');
|
$app_dir = get('UNITY_APP_DIR');
|
||||||
|
|
||||||
if(is_win())
|
if(is_win() || is_linux())
|
||||||
return "$app_dir/Editor/Data";
|
return "$app_dir/Editor/Data";
|
||||||
else
|
else
|
||||||
return "$app_dir/Unity.app/Contents/";
|
return "$app_dir/Unity.app/Contents/";
|
||||||
|
|
Loading…
Reference in New Issue