Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created September 6, 2015 14:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tsubaki/d8f31d1995c87352bd68 to your computer and use it in GitHub Desktop.
Save tsubaki/d8f31d1995c87352bd68 to your computer and use it in GitHub Desktop.
AssetBundleをStreamingAssetsに出力する
using UnityEngine;
using System.Collections;
using UnityEditor;
public class CreateAssetBundle {
[MenuItem("Export/AssetBundleST")]
static void Export()
{
System.IO.Directory.CreateDirectory (Application.streamingAssetsPath);
BuildPipeline.BuildAssetBundles (Application.streamingAssetsPath);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment