Skip to content

Instantly share code, notes, and snippets.

@kamera25
Last active August 29, 2015 14:13
Embed
What would you like to do?
Unitypackageにアセットデータとプロジェクトセッティングを含める方法
using UnityEngine;
using System.Collections;
using UnityEditor;
public class Exporter
{
[MenuItem("Assets/ExportWithSettings")]
static void Export () {
AssetDatabase.ExportPackage("Assets", "Entire Project.unitypackage",ExportPackageOptions.Interactive | ExportPackageOptions.Recurse | ExportPackageOptions.IncludeLibraryAssets|ExportPackageOptions.IncludeDependencies );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment