Skip to content

Commit

Permalink
Adds basic unitypackage generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lupidan committed Aug 6, 2018
1 parent b06f940 commit 2eb2681
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using UnityEngine;
using UnityEditor;

namespace UniN.UniNClipboard
{
public class UnityPackageMenu : MonoBehaviour
{
[MenuItem("UniN/UniNClipboard/Generate unitypackage")]
private static void NewMenuOption()
{
AssetDatabase.ExportPackage(
"Assets/UniN/UniNClipboard",
"../UniNClipboard.unitypackage",
ExportPackageOptions.Recurse);
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2eb2681

Please sign in to comment.