Git Product home page Git Product logo

kogane.texturepreprocessor's Introduction

Kogane Texture Preprocessor

テクスチャのインポート設定を自動化するエディタ拡張

使い方

2020-05-08_200602

Project ビューの「+ > UniTexture`Preprocessor」から設定を管理するアセットを作成できます

2020-05-08_200632

「TextureImporterSettings」は

2020-05-08_200728

テクスチャの Import Settings を上書きする設定を管理するアセットです
上書きしたい項目をチェックして、上書きしたいパラメータを設定できます

2020-05-08_200808

「TextureImporterPlatformSettings」は

2020-05-08_200825

テクスチャのプラットフォームごとの Import Settings を上書きする設定を管理するアセットです
「TextureImporterSettings」の「XXXX Settings」の項目に参照を設定できます

「TextureImporterSettings」と「TextureImporterPlatformSettings」は作成するだけでは何も起きません

2020-05-08_200920

「TexturePreprocessorSettings」は、どこのパスに存在するアセットに
どの「TextureImporterSettings」を適用するか設定できるアセットです
「Path」は先頭一致(StartsWith)で判定されます

「TexturePreprocessorSettings」を作成しておくことで
テクスチャがインポートされた時に設定が上書きされるようになります

「TextureImporterSettings」と「TextureImporterPlatformSettings」は複数作成可能です
「TexturePreprocessorSettings」は1つのみ作成可能です

使用例

2020-05-08_201305

「TextureImporterPlatformSettings」を作成して上記のように項目を設定します

2020-05-08_201316

「TextureImporterSettings」を作成して上記のように項目を設定します

2020-05-08_201356

「TexturePreprocessorSettings」を作成して上記のように項目を設定します

2020-05-08_201451

そして、「TexturePreprocessorSettings」の「Path」に指定したフォルダに存在する
テクスチャをインポートし直すと

2020-05-08_201509

テクスチャの Import Settings が

2020-05-08_201522

設定した内容で上書きされることが確認できます

SpriteAtlas

2020-05-08_200602

「SpriteAtlasPreprocessorSettings」と「SpriteAtlasImporterSettings」を作成すると
SpriteAtlas のインポート設定を自動化することができます

kogane.texturepreprocessor's People

Contributors

baba-s avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.