Created
September 6, 2015 14:51
-
-
Save tsubaki/d8f31d1995c87352bd68 to your computer and use it in GitHub Desktop.
AssetBundleをStreamingAssetsに出力する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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