Created
June 14, 2015 04:24
-
-
Save kazuooooo/52c8b0093a89252dbf1f to your computer and use it in GitHub Desktop.
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 CreateAssetBundles : MonoBehaviour | |
{ | |
//Assets メニューにBuildAssetBundlesを作成 | |
[MenuItem ("Assets/Build AssetBundles")] | |
//項目が選択されると関数が呼び出されAssetBundleが構築される | |
static void BuildAllAssetBundles () | |
{ | |
BuildPipeline.BuildAssetBundles ("AssetBundles"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment