Method OnGUI
OnGUI(MaterialEditor, MaterialProperty[])
To define a custom shader GUI use the methods of materialEditor to render controls for the properties array.
선언
public override void OnGUI(MaterialEditor materialEditor, MaterialProperty[] props)
파라미터
타입 | 이름 | 설명 |
---|---|---|
MaterialEditor | materialEditor | The MaterialEditor that are calling this OnGUI (the 'owner'). |
MaterialProperty[] | props |