Toggle navigation
Toggle navigation
This project
Loading...
Sign in
I_Jemin
/
Unity-OpenVR-Shooter-Template
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
I_Jemin
2017-12-03 19:14:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5b773fa6b15f3a5fa3ab246ac8d2e2812d667a7d
5b773fa6
1 parent
5f7e1517
Add package exporter
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
0 deletions
Assets/OpenVR-Shooter/Scripts/Editor.meta
Assets/OpenVR-Shooter/Scripts/Editor/PackageExporter.cs
Assets/OpenVR-Shooter/Scripts/Editor/PackageExporter.cs.meta
Assets/OpenVR-Shooter/Scripts/Editor.meta
0 → 100644
View file @
5b773fa
fileFormatVersion: 2
guid: caeddadec8b5e471f8eb2fa2be00758e
folderAsset: yes
timeCreated: 1512295982
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/OpenVR-Shooter/Scripts/Editor/PackageExporter.cs
0 → 100644
View file @
5b773fa
// 단순 유니티 패키지 제작용 스크립트
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
,
"OpenVR-Shooter.unitypackage"
,
ExportPackageOptions
.
Interactive
|
ExportPackageOptions
.
Recurse
|
ExportPackageOptions
.
IncludeDependencies
);
Debug
.
Log
(
"Project Exported"
);
}
}
\ No newline at end of file
Assets/OpenVR-Shooter/Scripts/Editor/PackageExporter.cs.meta
0 → 100644
View file @
5b773fa
fileFormatVersion: 2
guid: a0c4c44f7d054454eb7cceea80ed0d1a
timeCreated: 1512295992
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Please
register
or
login
to post a comment