1.0.0 • Published 7 years ago

@umm/assetimporter_helper v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

What?

  • AssetImporter を用いる際のヘルパクラスを提供します。

Why?

  • ディレクトリを再帰的に潜って、アセットに処理をするコトが多かったりするので、一部のメソッドを Utility クラスとして切り出しました。

Install

$ npm install -D github:umm-projects/assetimporter_helper.git

Usage

using UnityModule.EditorUtility;

public class Sample {

    public static void Run() {
        AssetImporterHelper.ActionToSelection<TextureImporter>(
            (importer, assetPath) => {
                // テクスチャに対して何か処理
            }
        );
    }

}

License

Copyright (c) 2017 Tetsuya Mori

Released under the MIT license, see LICENSE.txt