diff --git a/unity.inc.php b/unity.inc.php index 9b17391..110689c 100644 --- a/unity.inc.php +++ b/unity.inc.php @@ -175,6 +175,8 @@ function guess_unity_app_dir() $path = "/Applications/Unity/"; if(is_win()) $path = getenv("ProgramFiles")."/Unity/"; + else if(is_linux()) + $path = getenv("HOME")."/Unity/"; $proj_version_file = $GAME_ROOT.'/unity/ProjectSettings/ProjectVersion.txt'; if(is_file($proj_version_file))