Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeシェーダに対して CustomEditor を定義することが出来ます。Unityはこのときにこの名前で MaterialEditor を拡張したクラスを探します。もし見つかった場合,このシェーダを使用する全てのマテリアルがこのマテリアル インスペクタを使用します。サンプルについては カスタム マテリアル エディタ を参照して下さい。
CustomEditor "name"
特定の 名前 のマテリアル エディタを使用します。
CustomEditor ステートメントはこのシェーダを使用する全てのマテリアルに影響します。
Shader "example" {
// properties and subshaders here...
CustomEditor "MyCustomEditor"
}