Downgraded Unity project to 5.2.4f1, implemented AssetBundle handling and moved some files about to better locations.
[VesselSimulator.git] / Assets / Scripts / Editor / BuildAssetBundles.cs
blob:a/Assets/Scripts/Editor/BuildAssetBundles.cs -> blob:b/Assets/Scripts/Editor/BuildAssetBundles.cs
--- a/Assets/Scripts/Editor/BuildAssetBundles.cs
+++ b/Assets/Scripts/Editor/BuildAssetBundles.cs
@@ -1,1 +1,11 @@
+using UnityEditor;
+using UnityEngine;
 
+public class BuildAssetBundles : MonoBehaviour
+{
+    [MenuItem("Assets/Build Asset Bundles")]
+    public static void Build()
+    {
+        BuildPipeline.BuildAssetBundles(Application.dataPath + "/../Output/KerbalEngineer", BuildAssetBundleOptions.UncompressedAssetBundle);
+    }
+}