UnityEditor.MaterialEditor.ShaderPropertyInternal C# (CSharp) Method

ShaderPropertyInternal() private method

private ShaderPropertyInternal ( Rect position, MaterialProperty prop, string label ) : void
position UnityEngine.Rect
prop MaterialProperty
label string
return void
        private void ShaderPropertyInternal(Rect position, MaterialProperty prop, string label)
        {
            MaterialPropertyHandler handler = MaterialPropertyHandler.GetHandler(((Material) this.target).shader, prop.name);
            if (handler != null)
            {
                if (label == null)
                {
                }
                handler.OnGUI(ref position, prop, prop.displayName, this);
                if (handler.propertyDrawer != null)
                {
                    return;
                }
            }
            this.DefaultShaderProperty(position, prop, label);
        }
MaterialEditor