Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created December 14, 2015 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/21d19c30c257ada15850 to your computer and use it in GitHub Desktop.
Save tsubaki/21d19c30c257ada15850 to your computer and use it in GitHub Desktop.
AssetBundle作成コード
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
public class ExportAssetbundle {
[MenuItem("Export/Assetbundle")]
static void Export()
{
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