Wanzyee Studio

Store settings to export an asset package when double click this asset. More...

Inherits ScriptableObject.

Public Member Functions

void Export ()
 Export the assets to the file path with specified options. More...
 
Object[] GetDeepAssets ()
 Get all asset files from assets, replace each folder reference to the files within. More...
 
string[] GetAssetPaths ()
 Get all paths of assets. More...
 

Public Attributes

bool overwrite
 The flag if to overwrite the existing file silently, otherwise show a warning dialog. More...
 
string path = "package.unitypackage"
 The package file path. More...
 
ExportPackageOptions options
 The export package options. More...
 
List< Object > assets
 The assets to export. More...
 

Detailed Description

Store settings to export an asset package when double click this asset.

Show a TreeView to select assets right after created or by array element context menu "Select". The operations above can also be done by the asset context menu from the Inspector title.

3

Member Function Documentation

void Export ( )

Export the assets to the file path with specified options.

Object [] GetDeepAssets ( )

Get all asset files from assets, replace each folder reference to the files within.

Returns
The assets.
string [] GetAssetPaths ( )

Get all paths of assets.

Returns
The paths.

Member Data Documentation

bool overwrite

The flag if to overwrite the existing file silently, otherwise show a warning dialog.

string path = "package.unitypackage"

The package file path.

ExportPackageOptions options

The export package options.

List<Object> assets

The assets to export.