UnityEditor.MaterialKeywordEnumDrawer.GetPropertyHeight C# (CSharp) Method

GetPropertyHeight() public method

public GetPropertyHeight ( MaterialProperty prop, string label, MaterialEditor editor ) : float
prop MaterialProperty
label string
editor MaterialEditor
return float
        public override float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
        {
            if (!IsPropertyTypeSuitable(prop))
            {
                return 40f;
            }
            return base.GetPropertyHeight(prop, label, editor);
        }