UnityEditor.MaterialToggleDrawer.SetKeyword C# (CSharp) Method

SetKeyword() protected method

protected SetKeyword ( MaterialProperty prop, bool on ) : void
prop MaterialProperty
on bool
return void
        protected virtual void SetKeyword(MaterialProperty prop, bool on)
        {
            this.SetKeywordInternal(prop, on, "_ON");
        }