-
-
Save Felina-Lain/1fa056a5e585a8bc436ad8bf87c55ec3 to your computer and use it in GitHub Desktop.
Unity Export Package with Tag and Layers and Input Settings
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 static class ExportPackage { | |
[MenuItem("Export/Export with tags and layers, Input settings")] | |
public static void export() | |
{ | |
string[] projectContent = new string[] {"Assets", "ProjectSettings/TagManager.asset","ProjectSettings/InputManager.asset","ProjectSettings/ProjectSettings.asset"}; | |
AssetDatabase.ExportPackage(projectContent, "Done.unitypackage",ExportPackageOptions.Interactive | ExportPackageOptions.Recurse |ExportPackageOptions.IncludeDependencies); | |
Debug.Log("Project Exported"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment