UnityEngine.GUILayoutEntry.ApplyStyleSettings C# (CSharp) Method

ApplyStyleSettings() protected method

protected ApplyStyleSettings ( GUIStyle style ) : void
style GUIStyle
return void
        protected virtual void ApplyStyleSettings(GUIStyle style)
        {
            this.stretchWidth = ((style.fixedWidth != 0f) || !style.stretchWidth) ? 0 : 1;
            this.stretchHeight = ((style.fixedHeight != 0f) || !style.stretchHeight) ? 0 : 1;
            this.m_Style = style;
        }