UnityEditor.ShaderGUI.OnGUI C# (CSharp) 메소드

OnGUI() 공개 메소드

To define a custom shader GUI use the methods of materialEditor to render controls for the properties array.

public OnGUI ( MaterialEditor materialEditor, MaterialProperty properties ) : void
materialEditor MaterialEditor The MaterialEditor that are calling this OnGUI (the 'owner').
properties MaterialProperty Material properties of the current selected shader.
리턴 void
        public virtual void OnGUI(MaterialEditor materialEditor, MaterialProperty[] properties)
        {
            materialEditor.PropertiesDefaultGUI(properties);
        }