Version: 5.6
public void OnGUI (MaterialEditor materialEditor, MaterialProperty[] properties);

パラメーター

materialEditor この OnGUI ('owner') を呼び出している MaterialEditor
properties 現在選択されているシェーダーのマテリアルプロパティー

説明

Custom Shader GUI を定義するには properties 配列の描画を制御するために materialEditor のメソッドを使用します。