Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

Commit

Permalink
release-vonmises
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosemer committed Sep 3, 2015
1 parent d68b8c5 commit 62b8ffe
Show file tree
Hide file tree
Showing 243 changed files with 5,872 additions and 5,858 deletions.
16 changes: 0 additions & 16 deletions UnityExamples/Assets/Editor/BuildTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ public class BuildTools
private static BuildUtil.PackageSettings sdkPackage = new BuildUtil.PackageSettings
{
PackageName = "TangoSDK",
Directories = new string[] { "Google-Unity", "Plugins", "TangoSDK" }
};

private static BuildUtil.PackageSettings sdkPlusPrefabsPackage = new BuildUtil.PackageSettings
{
PackageName = "TangoSDK+Prefabs",
Directories = new string[] { "Google-Unity", "Plugins", "TangoPrefabs", "TangoSDK" }
};

Expand All @@ -107,7 +101,6 @@ public static void BuildAll()
BuildUtil.BuildAPK(persistentStateAPK);
BuildUtil.BuildAPK(virtualRealityAPK);
BuildUtil.BuildPackage(sdkPackage);
BuildUtil.BuildPackage(sdkPlusPrefabsPackage);
}

/// <summary>
Expand All @@ -119,15 +112,6 @@ public static void BuildSdkPackage()
BuildUtil.BuildPackage(sdkPackage);
}

/// <summary>
/// Function for UI.
/// </summary>
[MenuItem("Tango/Build/SDK+Prefabs Package", false, 21)]
public static void BuildSdkPlusPrefabsPackage()
{
BuildUtil.BuildPackage(sdkPlusPrefabsPackage);
}

/// <summary>
/// Function for UI.
/// </summary>
Expand Down
17 changes: 11 additions & 6 deletions UnityExamples/Assets/Editor/BuildUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,14 @@ public class PackageSettings
}

/// <summary>
/// Where to put built APKs and UnityPackages.
/// Where to put built APKs.
/// </summary>
public const string BUILD_DIRECTORY_W_SLASH = "Build/Android/";
public const string BUILD_APK_DIRECTORY_W_SLASH = "Build/Android/";

/// <summary>
/// Where to put built UnityPackages.
/// </summary>
public const string BUILD_PACKAGE_DIRECTORY_W_SLASH = "Build/";

/// <summary>
/// The assets folder. All assets are inside of this folder anyway, so this avoids having to specify it.
Expand All @@ -75,7 +80,7 @@ public static void BuildAPK(APKSettings settings)
string oldAndroidSdkRoot = EditorPrefs.GetString("AndroidSdkRoot");

// make sure the product folder exists
System.IO.Directory.CreateDirectory(BUILD_DIRECTORY_W_SLASH);
System.IO.Directory.CreateDirectory(BUILD_APK_DIRECTORY_W_SLASH);

// set icons (Android currently supports 6 sizes)
Texture2D icon = (Texture2D)AssetDatabase.LoadMainAssetAtPath(ASSET_DIRECTORY_W_SLASH + settings.Icon);
Expand Down Expand Up @@ -109,7 +114,7 @@ public static void BuildAPK(APKSettings settings)
{
scenesUnityPath[it] = ASSET_DIRECTORY_W_SLASH + settings.Scenes[it];
}
BuildPipeline.BuildPlayer(scenesUnityPath, BUILD_DIRECTORY_W_SLASH + settings.ProjectName + ".apk",
BuildPipeline.BuildPlayer(scenesUnityPath, BUILD_APK_DIRECTORY_W_SLASH + settings.ProjectName + ".apk",
BuildTarget.Android, BuildOptions.None);

// Restore player settings
Expand All @@ -130,7 +135,7 @@ public static void BuildAPK(APKSettings settings)
public static void BuildPackage(PackageSettings settings)
{
// make sure the product folder exists
System.IO.Directory.CreateDirectory(BUILD_DIRECTORY_W_SLASH);
System.IO.Directory.CreateDirectory(BUILD_PACKAGE_DIRECTORY_W_SLASH);

// Ensure any recently changed / newly created assets are known by Unity.
AssetDatabase.Refresh();
Expand All @@ -142,7 +147,7 @@ public static void BuildPackage(PackageSettings settings)
dirUnityPath[it] = ASSET_DIRECTORY_W_SLASH + settings.Directories[it];
}
AssetDatabase.ExportPackage(dirUnityPath,
BUILD_DIRECTORY_W_SLASH + settings.PackageName + ".unitypackage",
BUILD_PACKAGE_DIRECTORY_W_SLASH + settings.PackageName + ".unitypackage",
ExportPackageOptions.Recurse);
}

Expand Down
4 changes: 2 additions & 2 deletions UnityExamples/Assets/Google-Unity/Scripts.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions UnityExamples/Assets/Plugins/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions UnityExamples/Assets/Plugins/Android/UnityUxHelper.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions UnityExamples/Assets/Plugins/Android/UnityUxHelper/bin.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions UnityExamples/Assets/Plugins/Android/UnityUxHelper/libs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions UnityExamples/Assets/Plugins/Android/UnityUxHelper/res.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 62b8ffe

Please sign in to comment.