Last active
August 29, 2015 14:13
-
-
Save kamera25/4d9cf80a643a61acd8a7 to your computer and use it in GitHub Desktop.
Unitypackageにアセットデータとプロジェクトセッティングを含める方法
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 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