diff --git a/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs b/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs index 4106b1a47..e316c6433 100644 --- a/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs +++ b/com.unity.toonshader/Editor/Scripts/GUI/UnityToon3Das2DGUI.cs @@ -152,7 +152,7 @@ static void DrawLightingGUI(MaterialEditor mEditor, Material[] mats, ToonEditorGUIUtility.DrawVector3FieldGUI(mEditor, mats, uiElements[ToonConstants.SHADER_PROP_DIRECTIONAL_LIGHT_VIEW_POSITION]); ToonEditorGUIUtility.DrawTexturePropertySingleLineGUI(mEditor, uiElements[ToonConstants.SHADER_PROP_HIGHLIGHT_TEX]); ToonEditorGUIUtility.DrawIntPopupGUI(mEditor, mats, uiElements[ToonConstants.SHADER_PROP_DIRECTIONAL_LIGHT_HIGHLIGHT_MODE], - m_highlightModeEnums, m_highlightModeIndices, out int _); + m_highlightModeEnums, m_highlightModeValues, out int _); ToonEditorGUIUtility.DrawRangePropertyGUI(mEditor, uiElements[ToonConstants.SHADER_PROP_DIRECTIONAL_LIGHT_HIGHLIGHT_STRENGTH]); ToonEditorGUIUtility.DrawRangePropertyGUI(mEditor, uiElements[ToonConstants.SHADER_PROP_DIRECTIONAL_LIGHT_HIGHLIGHT_SIZE]); @@ -193,7 +193,7 @@ static void DrawOutlineGUI(MaterialEditor mEditor, Material[] mats, Dictionary