C# Class mpu.AssetFileImporter

Implements mpu build command implementation.
This class is NOT formal API, so backward compatibility will not be maintained.
Exibir arquivo Open project: msgpack/msgpack-cli

Public Methods

Method Description
AssembleAssetTree ( string sourceProjectPath, string outputDirectoryPath ) : void

Assembles the asset tree from MsgPack.Unity.csproj file.

The output files will be placed under <outputDirectoryPath directory as hierarchical file tree.

AssetFileImporter ( ) : System

Initializes a new instance of the AssetFileImporter class.

Private Methods

Method Description
ParseProjectFile ( string filePath ) : IEnumerable

Method Details

AssembleAssetTree() public method

Assembles the asset tree from MsgPack.Unity.csproj file.
The output files will be placed under <outputDirectoryPath directory as hierarchical file tree.
A format of passed argument is invalid. /// A specified file or directory is not valid, is not found, or conflicts with existent file system object. /// Or, unexpected I/O error is occurred. ///
public AssembleAssetTree ( string sourceProjectPath, string outputDirectoryPath ) : void
sourceProjectPath string /// The source project file path which points to MsgPack.Unity3D.csproj. /// If omitted, ./src/MsgPack.Unity/MsgPack.Unity.csproj will be used. ///
outputDirectoryPath string /// The output directory path the copied source file (assets file) will be placed. /// If omitted, ./Assets/MsgPack will be used. ///
return void

AssetFileImporter() public method

Initializes a new instance of the AssetFileImporter class.
public AssetFileImporter ( ) : System
return System