Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
チャンクベースAssetBundleの生成
using UnityEngine;
using System.Collections;
using UnityEditor;
using System.IO;
public class ExportAssetBundle
{
[MenuItem("Assetbundle/Export")]
static void Export()
{
Directory.CreateDirectory(Application.streamingAssetsPath);
BuildPipeline.BuildAssetBundles(
Application.streamingAssetsPath,
BuildAssetBundleOptions.ChunkBasedCompression);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.