Hi
I’m using the Unity build assetbundle script (from here: http://docs.unity3d.com/Documentation/Manual/abfaq.html#Creating%20an%20AssetBundle):
using UnityEngine;
using UnityEditor;
public class ExportAssetBundles {
[MenuItem("Assets/Build AssetBundle")]
static void ExportResource () {
string path = "builds/AssetBundles/myAssetBundle.unity3d";
Object[] selection = Selection.GetFiltered(typeof(Object), SelectionMode.DeepAssets);
BuildPipeline.BuildAssetBundle(Selection.activeObject, selection, path, BuildAssetBundleOptions.CollectDependencies | BuildAssetBundleOptions.CompleteAssets);
}
}
and everytime I build an asset my project build settings change to webplayer - why is this happening?
regards
Garrett