diff --git a/Editor/ShaderDrawer.cs b/Editor/ShaderDrawer.cs index f20460b..677b94b 100644 --- a/Editor/ShaderDrawer.cs +++ b/Editor/ShaderDrawer.cs @@ -379,7 +379,7 @@ public override void DrawProp(Rect position, MaterialProperty prop, GUIContent l public override void Apply(MaterialProperty prop) { base.Apply(prop); - if (!prop.hasMixedValue && IsMatchPropType(prop)){} + if (!prop.hasMixedValue && IsMatchPropType(prop)) Helper.SetShaderKeyWord(prop.targets, GetKeywords(prop), (int)prop.floatValue); Debug.Log(prop.floatValue); } diff --git a/package.json b/package.json index f56ab92..0421956 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.jasonma.lwgui", - "version": "1.1.1", + "version": "1.1.2", "displayName": "LWGUI", "description": "A Lightweight, Flexible, Powerful Shader GUI System for Unity.", "keywords": [