Unityではゲームを作る以外にも色々なところで自作のスクリプトを差し込むことができます。 今回はPostProcessについて書いておこうと思います。 Post Processは「あと処理」を意味する英単語です。 つまり、Unityでビルドを行ったのち、あと処理を差し込むことができます。 利用例としては自作のプラグインを作っている場合に、その設定ファイルを書き出したり、あるいはUnityが書き出したファイルに置換処理を入れたり、といったことが可能になります。 ルール /Assets/Editor以下に置く。(Editor Scriptとして認識させればOK) public staticなメソッドに[PostProcessBuild(N)]属性を付与。 (N)は実行順序 例) ドキュメントには以下のように記載があります。 // C# example: using UnityEngine;